From 78153530d3c8e63abbc5c193b89323de8b315117 Mon Sep 17 00:00:00 2001 From: kink Date: Sat, 28 Jan 2006 19:12:19 +0000 Subject: [PATCH] config.php was not loaded before plugin.php, but that's needed to make plugins work. The real solution is a centralized init and no active code under functions/ git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10594 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/plugin.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/functions/plugin.php b/functions/plugin.php index 5be3a953..ab8d5184 100644 --- a/functions/plugin.php +++ b/functions/plugin.php @@ -15,6 +15,7 @@ /** Everything needs global.. */ require_once(SM_PATH . 'functions/global.php'); +require_once(SM_PATH . 'config/config.php'); require_once(SM_PATH . 'functions/prefs.php'); global $squirrelmail_plugin_hooks; @@ -234,4 +235,4 @@ if (isset($plugins) && is_array($plugins)) { } } -?> \ No newline at end of file +?> -- 2.25.1