Changeset 19506
- Timestamp:
- 2010/11/07 03:49:42 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/camp/camp-2_5-E/data/class/helper/SC_Helper_Plugin.php
r19333 r19506 14 14 $where = "enable = 1 AND del_flg = 0"; 15 15 $arrRet = $objQuery->select($col, $table, $where); 16 $arrEnablePlugins = array();17 16 $class_name = get_class($lcpage); 18 17 … … 22 21 // プラグインを稼働させるクラス名のリストを取得する 23 22 // プラグインのディレクトリ内の設定ファイルを参照する 24 $plugin_name = $plugins['class_name']; 25 require_once DATA_PATH."plugin/{$plugin_name}/{$plugin_name}.php"; 23 $plugin_name = $plugins['name']; 24 $plugin_class_name = $plugins['class_name']; 25 require_once DATA_PATH."plugin/{$plugin_name}/{$plugin_class_name}.php"; 26 26 27 $code_str = "\$is_enable = {$plugin_ name}::is_enable(\$class_name);";27 $code_str = "\$is_enable = {$plugin_class_name}::is_enable(\$class_name);"; 28 28 eval($code_str); 29 29 if ($is_enable) { 30 $arrPluginList[] = $plugin_ name;30 $arrPluginList[] = $plugin_class_name; 31 31 } 32 32 }
Note: See TracChangeset
for help on using the changeset viewer.