浏览代码

* Added more plugin stuff. :-)

Tyler Akins 24 年之前
父节点
当前提交
e56942b319
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      functions/plugin.php

+ 2 - 1
functions/plugin.php

@@ -18,6 +18,8 @@
 
    $plugin_php = true;
    $plugin_general_debug = false;
+   
+   $squirrelmail_plugin_hooks = array();
 
    // This function adds a plugin
    function use_plugin ($name) {
@@ -71,7 +73,6 @@
 
    if ($plugin_general_debug)
    {
-      global $squirrelmail_plugin_hooks;
       echo "plugin:  Hook list<br>\n";
       foreach ($squirrelmail_plugin_hooks as $Hook => $Plugins)
       {