**/
- $plugin_php = true;
+ if (defined('plugin_php'))
+ return;
+ define('plugin_php', true);
+
+ global $plugin_general_debug, $squirrelmail_plugin_hooks;
$plugin_general_debug = false;
+
+ $squirrelmail_plugin_hooks = array();
// This function adds a plugin
function use_plugin ($name) {
if ($plugin_general_debug)
{
- global $squirrelmail_plugin_hooks;
echo "plugin: Hook list<br>\n";
foreach ($squirrelmail_plugin_hooks as $Hook => $Plugins)
{