Changeset 2186 for temp/trunk/data/lib/slib.php
- Timestamp:
- 2006/08/28 11:54:29 (20 years ago)
- File:
-
- 1 edited
-
temp/trunk/data/lib/slib.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/data/lib/slib.php
r1970 r2186 23 23 function sfLoadUpdateModule() { 24 24 //DB¤«¤éÀßÄê¾ðÊó¤ò¼èÆÀ 25 $objConn = new SC_DbConn(DEFAULT_DSN); 26 $arrRet = $objConn->getAll("SELECT extern_php FROM dtb_update WHERE main_php = ?",array($_SERVER['PHP_SELF'])); 27 28 if($arrRet[0]['extern_php'] != "") { 29 $path = ROOT_DIR . $arrRet[0]['extern_php']; 30 if(file_exists($path)) { 31 require_once($path); 25 if(defined('DB_USER') && defined('DB_PASSWORD') && defined('DB_SERVER') && defined('DB_NAME')) { 26 $objConn = new SC_DbConn(DEFAULT_DSN); 27 $arrRet = $objConn->getAll("SELECT extern_php FROM dtb_update WHERE main_php = ?",array($_SERVER['PHP_SELF'])); 28 29 if($arrRet[0]['extern_php'] != "") { 30 $path = ROOT_DIR . $arrRet[0]['extern_php']; 31 if(file_exists($path)) { 32 require_once($path); 33 } 32 34 } 33 35 }
Note: See TracChangeset
for help on using the changeset viewer.
