An alternative to UBB.threads
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Web;
|
|
|
|
|
using FLocal.Patcher.Common;
|
|
|
|
|
|
|
|
|
|
namespace FLocal.Patcher.IISHandler {
|
|
|
|
|
public class MainHandler : Patcher.Web.MainHandler {
|
|
|
|
|
|
|
|
|
|
protected override Patcher.Web.PatcherInfo patcherInfo {
|
|
|
|
|
get {
|
|
|
|
|
return PatcherInfo.instance;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected override string GetAdminConnectionString(HttpContext context) {
|
|
|
|
|
string[] parts = context.Request.Form["data"].Split(';');
|
|
|
|
|
return System.Configuration.ConfigurationManager.AppSettings["Patcher.AdminConnectionString"].Replace("{username}", parts[0]).Replace("{password}", parts[1]);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|