Changeset 19155


Ignore:
Timestamp:
2010/11/06 23:13:50 (13 years ago)
Author:
miningbrownie
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/camp/camp-2_5-E/data/class/helper/SC_Helper_Plugin.php

    r19154 r19155  
    3131    } 
    3232 
    33      /* 読み込んだプラグインの実行用メソッド 
     33    /* 読み込んだプラグインの実行用メソッド 
    3434     * 
    3535     */ 
     
    3939        if(count($arrPluginList) > 0){ 
    4040            foreach ($arrPluginList as $key => $value){ 
    41             $instance = new $value; 
    42             $instance->process($lcpage); 
     41                $instance = new $value; 
     42                $instance->process($lcpage); 
    4343            } 
    4444        } 
    4545        return $lcpage; 
    46   } 
     46    } 
    4747 
    4848    /** 
     
    7070    } 
    7171 
    72      
     72 
    7373    public static function getFilesystemPlugins(){ 
    74          
     74        $plugin_dir = DATA_PATH."/plugin/"; 
     75        if($dh = opendir($plugin_dir)){ 
     76            while(($file = readdir($dh) !== false)){ 
     77                if(is_dir($plugin_dir."/".$file)){ 
     78                      
     79                } 
     80            } 
     81        } 
    7582    } 
    7683} 
Note: See TracChangeset for help on using the changeset viewer.