Changeset 6232 for temp/trunk/data/lib
- Timestamp:
- 2006/10/13 11:26:43 (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
r6225 r6232 78 78 } 79 79 //DB¤«¤éÀßÄê¾ðÊó¤ò¼èÆÀ 80 if(defined('DB_USER') && defined('DB_PASSWORD') && defined('DB_SERVER') && defined('DB_NAME')) { 81 /* 82 $objConn = new SC_DbConn(DEFAULT_DSN); 83 // ºÇ½é¤Ë¼Â¹Ô¤¹¤ëPHP¥½¡¼¥¹¤ò¸¡º÷¤¹¤ë 84 $arrRet = $objConn->getAll("SELECT extern_php FROM dtb_update WHERE main_php = ? OR main_php = '*'",array($_SERVER['PHP_SELF'])); 85 foreach($arrRet as $array) { 86 if($array['extern_php'] != "") { 87 $path = DATA_PATH . $array['extern_php']; 88 if(file_exists($path)) { 89 require_once($path); 80 if(defined('DEFAULT_DSN')) { 81 if(sfTabaleExists('dtb_update')) { 82 $objConn = new SC_DbConn(); 83 // ºÇ½é¤Ë¼Â¹Ô¤¹¤ëPHP¥½¡¼¥¹¤ò¸¡º÷¤¹¤ë 84 $arrRet = $objConn->getAll("SELECT extern_php FROM dtb_update WHERE main_php = ? OR main_php = '*'",array($_SERVER['PHP_SELF'])); 85 foreach($arrRet as $array) { 86 if($array['extern_php'] != "") { 87 $path = DATA_PATH . $array['extern_php']; 88 if(file_exists($path)) { 89 require_once($path); 90 } 90 91 } 91 92 } 92 93 } 93 */94 94 } 95 95 }
Note: See TracChangeset
for help on using the changeset viewer.
