'showprofile.php' support implemented in legacyphphandler

main
Inga 🏳‍🌈 15 years ago
parent 558a3d9de2
commit efbcc7a1a8
  1. 2
      Builder/IISMainHandler/build.txt
  2. 2
      Builder/IISUploadHandler/build.txt
  3. 2
      IISMainHandler/handlers/response/LegacyPHPHandler.cs

@ -28,6 +28,8 @@ namespace FLocal.IISHandler.handlers.response {
return "/Post/" + int.Parse(context.httprequest.QueryString["Number"]).ToString() + "/"; return "/Post/" + int.Parse(context.httprequest.QueryString["Number"]).ToString() + "/";
case "postlist": case "postlist":
return "/Board/" + Board.LoadByLegacyName(context.httprequest.QueryString["Board"]).id.ToString() + "/"; return "/Board/" + Board.LoadByLegacyName(context.httprequest.QueryString["Board"]).id.ToString() + "/";
case "showprofile":
return "/User/" + User.LoadByName(context.httprequest.QueryString["User"]).id.ToString() + "/";
default: default:
throw new NotImplementedException("unknown script " + scriptParts[0]); throw new NotImplementedException("unknown script " + scriptParts[0]);
} }

Loading…
Cancel
Save