public static bool HandleDeprecatedFilePathsException(Exception exception, HttpServerUtilityBase server, SubtextApplication application) { var depecratedException = exception as DeprecatedPhysicalPathsException; if (depecratedException != null) { server.Execute(DeprecatedPhysicalPathsPage, false); server.ClearError(); application.FinishRequest(); return(true); } return(false); }
public static bool HandleDeprecatedFilePathsException(Exception exception, HttpServerUtilityBase server, SubtextApplication application) { var depecratedException = exception as DeprecatedPhysicalPathsException; if (depecratedException != null) { server.Execute(DeprecatedPhysicalPathsPage, false); server.ClearError(); application.FinishRequest(); return true; } return false; }