includes/plugins.php
changeset 601 9c1f07ae26d5
parent 593 4f9bec0d65c1
child 607 935f3799b654
--- 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);