Fixed $use_cache bug in plugins.php
authorDan
Mon, 07 Jul 2008 02:48:14 -0400
changeset 601 9c1f07ae26d5
parent 600 46abecc238e7
child 602 ecbc8d202058
Fixed $use_cache bug in plugins.php
includes/plugins.php
--- a/includes/plugins.php	Mon Jul 07 02:47:20 2008 -0400
+++ b/includes/plugins.php	Mon Jul 07 02:48:14 2008 -0400
@@ -288,7 +288,7 @@
           
         // it's a PHP file, attempt to read metadata
         $fullpath = ENANO_ROOT . "/plugins/$dh";
-        $plugin_meta = $this->get_plugin_info($fullpath);
+        $plugin_meta = $this->get_plugin_info($fullpath, $use_cache);
         
         if ( is_array($plugin_meta) )
         {
@@ -337,7 +337,7 @@
    * @return array
    */
   
-  function get_plugin_info($fullpath)
+  function get_plugin_info($fullpath, $use_cache = true)
   {
     global $plugins_cache;
     $dh = basename($fullpath);