Browse Source

Re-enable plugins in configtest

pdontthink 18 years ago
parent
commit
2f878bcd03
1 changed files with 7 additions and 0 deletions
  1. 7 0
      src/configtest.php

+ 7 - 0
src/configtest.php

@@ -110,6 +110,13 @@ if (file_exists(SM_PATH . 'config/config_local.php')) {
     require(SM_PATH . 'config/config_local.php');
     require(SM_PATH . 'config/config_local.php');
 }
 }
 
 
+/** Load plugins */
+global $disable_plugins;
+$squirrelmail_plugin_hooks = array();
+if (!$disable_plugins && file_exists(SM_PATH . 'config/plugin_hooks.php')) {
+    require(SM_PATH . 'config/plugin_hooks.php');
+}
+
 /** Warning counter */
 /** Warning counter */
 $warnings = 0;
 $warnings = 0;