From 847e34835aa7c6432c7465bfe78bd87815f9ae19 Mon Sep 17 00:00:00 2001 From: cigamit Date: Thu, 28 Oct 2004 04:10:51 +0000 Subject: [PATCH] Not sure how this global got there... (Copy and Paste?) 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 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/administrator/setup.php b/plugins/administrator/setup.php index df5b342f..88f24d14 100644 --- a/plugins/administrator/setup.php +++ b/plugins/administrator/setup.php @@ -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 ); -- 2.25.1