diff --git a/IISMainHandler/handlers/response/LegacyPHPHandler.cs b/IISMainHandler/handlers/response/LegacyPHPHandler.cs index bb1f5c7..6a2f3a4 100644 --- a/IISMainHandler/handlers/response/LegacyPHPHandler.cs +++ b/IISMainHandler/handlers/response/LegacyPHPHandler.cs @@ -20,9 +20,11 @@ namespace FLocal.IISHandler.handlers.response { switch(scriptParts[0].ToLower()) { case "showflat": + case "ashowflat": Post post = Post.LoadById(int.Parse(context.httprequest.QueryString["Number"])); return "/Thread/" + post.thread.id.ToString() + "/p" + post.id.ToString(); case "showthreaded": + case "ashowthreaded": return "/Post/" + int.Parse(context.httprequest.QueryString["Number"]).ToString() + "/"; case "postlist": return "/Board/" + Board.LoadByLegacyName(context.httprequest.QueryString["Board"]).id.ToString() + "/";