config.php was not loaded before plugin.php, but that's needed to make
authorkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 28 Jan 2006 19:12:19 +0000 (19:12 +0000)
committerkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 28 Jan 2006 19:12:19 +0000 (19:12 +0000)
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

index 5be3a953b8bd85f7ff7ebb419175e8c7a8d24a45..ab8d518464a03a31ca42146c1bdc21c6d977cc9d 100644 (file)
@@ -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
+?>