From 8459a9bbb8f2c312111cc119e1a727f7716b5008 Mon Sep 17 00:00:00 2001 From: pdontthink Date: Mon, 11 Dec 2006 21:05:11 +0000 Subject: [PATCH] Re-enable plugins in configtest git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12006 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/configtest.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/configtest.php b/src/configtest.php index 8fabfbbe..45822902 100644 --- a/src/configtest.php +++ b/src/configtest.php @@ -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; -- 2.25.1