Re-enable plugins in configtest
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 11 Dec 2006 21:05:11 +0000 (21:05 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 11 Dec 2006 21:05:11 +0000 (21:05 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12006 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/configtest.php

index 8fabfbbed3a6fd27f19f1efc5dee956bb070d9a3..45822902a5b496f33b5000e2f50ad68e9f7a9896 100644 (file)
@@ -110,6 +110,13 @@ if (file_exists(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 */
 $warnings = 0;