Adding a missing setting (since 1.4.6 RC 1).
[squirrelmail.git] / plugins / administrator / auth.php
index 79ae8599334f85226b33845f812037f57b539df9..f82f3edb5c81bc12fd484b3816098906edee5222 100644 (file)
@@ -7,7 +7,7 @@
  * to the plugin.
  *
  * @author Philippe Mingo
- * @copyright © 1999-2005 The SquirrelMail Project Team
+ * @copyright © 1999-2007 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package plugins
@@ -21,7 +21,6 @@
  */
 function adm_check_user() {
     global $PHP_SELF, $plugins;
-    require_once(SM_PATH . 'functions/global.php');
 
     /* fail if the plugin is not enabled */
     if ( !in_array('administrator', $plugins) ) {
@@ -64,4 +63,3 @@ function adm_check_user() {
 function adm_array_trim(&$value,$key) {
     $value=trim($value);
 }
-?>
\ No newline at end of file