Changeset 19144
- Timestamp:
- 2010/11/06 23:04:58 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/camp/camp-2_5-E/data/class/pages/admin/system/LC_Page_Admin_System_Plugin.php
r18979 r19144 72 72 $objView = new SC_AdminView(); 73 73 $this->initForm(); 74 $arrPlugins = array(); 74 75 75 switch($this->objForm->getValue('mode')) { 76 76 // PHP INFOを表示 77 77 case 'install': 78 78 79 79 break; 80 80 case 'uninstall': 81 81 82 82 break; 83 83 case 'enable': 84 84 85 85 break; 86 86 case 'disable': 87 87 88 88 break; 89 89 default: 90 $plugins = SC_Helper_Plugin::getAllPlugin(); 91 var_dump($plugins); 90 92 break; 91 93 } … … 97 99 } 98 100 99 101 100 102 function searchPlugins(){ 101 $plugin_dir = DATA_PATH."/plugin/";102 if($dh = opendir($plugin_dir)){103 while(($file = readdir($dh) !== false)){104 if(is_dir($plugin_dir."/".$file)){105 106 }107 }108 }103 $plugin_dir = DATA_PATH."/plugin/"; 104 if($dh = opendir($plugin_dir)){ 105 while(($file = readdir($dh) !== false)){ 106 if(is_dir($plugin_dir."/".$file)){ 107 108 } 109 } 110 } 109 111 110 111 112 113 112 114 } 113 114 115 116 115 117 /** 116 118 * デストラクタ.
Note: See TracChangeset
for help on using the changeset viewer.