From 2f420dab2b480bffec2dbe6505f1b229fd3d0c59 Mon Sep 17 00:00:00 2001 From: Nina Vyedin Date: Mon, 4 Mar 2013 18:22:45 -0500 Subject: [webdoc] make some changes to how plugins are wired --- webdoc/Global.asax | 4 ---- webdoc/index.aspx | 13 ++++++++++++- 2 files changed, 12 insertions(+), 5 deletions(-) (limited to 'webdoc') diff --git a/webdoc/Global.asax b/webdoc/Global.asax index 32a73247..9540553f 100644 --- a/webdoc/Global.asax +++ b/webdoc/Global.asax @@ -11,7 +11,6 @@ public static RootTree help_tree; [ThreadStatic] static SearchableIndex search_index; public static string ua = null; -static string Plugins = null; void Application_Start () { @@ -27,9 +26,6 @@ void Application_Start () //Google analytics if we want em ua = WebConfigurationManager.AppSettings["GoogleAnalytics"]; - //grab the Plugins def value from web.config - Plugins = WebConfigurationManager.AppSettings["Plugins"]; - SettingsHandler.Settings.EnableEditing = false; } diff --git a/webdoc/index.aspx b/webdoc/index.aspx index 591c6080..995fb5a9 100644 --- a/webdoc/index.aspx +++ b/webdoc/index.aspx @@ -74,7 +74,18 @@ void Page_Load (object sender, EventArgs e) <% = Plugin.GetPluginContent (Plugin.PluginContent.Footer) %> -<% = Global.CreateTreeBootFragment () %> <% = Plugin.GetPluginContent (Plugin.PluginContent.Javascript) %> + -- cgit v1.2.3