- Timestamp:
- 2012/06/12 17:04:21 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/helper/SC_Helper_Plugin.php
r21754 r21915 80 80 function getSingletonInstance($plugin_activate_flg = true) { 81 81 if (!isset($GLOBALS['_SC_Helper_Plugin_instance']) || is_null($GLOBALS['_SC_Helper_Plugin_instance'])) { 82 // プラグインのローダーがDB接続を必要とするため、 83 // SC_Queryインスタンス生成後のみオブジェクトを生成する。 84 require_once CLASS_EX_REALDIR . 'SC_Query_Ex.php'; 85 if (is_null(SC_Query_Ex::getPoolInstance())) { 86 return false; 87 } 88 82 89 $GLOBALS['_SC_Helper_Plugin_instance'] = new SC_Helper_Plugin_Ex(); 83 90 $GLOBALS['_SC_Helper_Plugin_instance']->load($plugin_activate_flg);
Note: See TracChangeset
for help on using the changeset viewer.