Not sure how this global got there... (Copy and Paste?)
authorcigamit <cigamit@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 28 Oct 2004 04:10:51 +0000 (04:10 +0000)
committercigamit <cigamit@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 28 Oct 2004 04:10:51 +0000 (04:10 +0000)
Should also use SM_PATH where necessary

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@8258 7612ce4b-ef26-0410-bec9-ea0150e637f0

plugins/administrator/setup.php

index df5b342..88f24d1 100644 (file)
@@ -34,11 +34,10 @@ function squirrelmail_plugin_init_administrator() {
  */
 function squirrelmail_administrator_optpage_register_block() {
     global $optpage_blocks;
-    global $AllowSpamFilters;
 
     $optpage_blocks[] = array(
         'name' => _("Administration"),
-        'url'  => '../plugins/administrator/options.php',
+        'url'  => SM_PATH . 'plugins/administrator/options.php',
         'desc' => _("This module allows administrators to manage SquirrelMail main configuration remotely."),
         'js'   => false
     );