Explorar o código

* Added more plugin stuff. :-)

Tyler Akins %!s(int64=24) %!d(string=hai) anos
pai
achega
e56942b319
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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)
       {