From f191a7da15d03e9cc5c6d5a80844ab7eca44825b Mon Sep 17 00:00:00 2001 From: fidian Date: Fri, 9 Feb 2001 14:44:15 +0000 Subject: [PATCH] * Now this sends $plugin_general_debug to the plugins too. If the plugins aren't coded to accept the debug value for their setup function, then it should be ignored safely. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1086 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/plugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/plugin.php b/functions/plugin.php index 4b86b769..34cb4bd6 100644 --- a/functions/plugin.php +++ b/functions/plugin.php @@ -32,7 +32,7 @@ { if ($plugin_general_debug) echo "plugin: ---- Executing $function to init plugin
\n"; - $function(); + $function($plugin_general_debug); } elseif ($plugin_general_debug) echo "plugin: -- Init function $function doesn't exist.
\n"; -- 2.25.1