فهرست منبع

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