Replacing HTML "script" element deprecated attribute "language".
[squirrelmail.git] / functions / plugin.php
index 7ccc6bc99339923e9c52dcbcef9b6080d15de80c..ab8d518464a03a31ca42146c1bdc21c6d977cc9d 100644 (file)
@@ -7,7 +7,7 @@
  *
  * Documentation on how to write plugins might show up some time.
  *
- * @copyright © 1999-2005 The SquirrelMail Project Team
+ * @copyright © 1999-2006 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package squirrelmail
@@ -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
+?>