Changeset 7451 for temp/trunk/html/admin/system/module.php
- Timestamp:
- 2006/11/06 13:35:28 (20 years ago)
- File:
-
- 1 edited
-
temp/trunk/html/admin/system/module.php (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/html/admin/system/module.php
r7450 r7451 186 186 $arrRet = $objQuery->select("module_id, extern_php, other_files, install_sql, latest_version", "dtb_module", "module_id = ?", array($_POST['module_id'])); 187 187 $flg_ok = true; // ½èÍý¤ÎÀ®¸ùȽÄê 188 /*188 189 189 if(count($arrRet) > 0) { 190 190 $arrFiles = array(); … … 204 204 $flg_ok = false; 205 205 } 206 */ 207 $objQuery->getlastquery(); 206 208 207 // ɬÍפÊSQLʸ¤Î¼Â¹Ô 209 208 if($arrRet[0]['install_sql'] != "") { … … 225 224 } 226 225 } 227 /*226 228 227 if($flg_ok) { 229 228 $path = MODULE_PATH . $arrRet[0]['extern_php']; … … 232 231 $objQuery->update("dtb_module", $sqlval, "module_id = ?", array($arrRet[0]['module_id'])); 233 232 } 234 */235 233 } 236 234 … … 242 240 $arrRet = $objQuery->select("module_id, extern_php, other_files, install_sql, uninstall_sql, latest_version", "dtb_module", "module_id = ?", array($_POST['module_id'])); 243 241 $flg_ok = true; // ½èÍý¤ÎÀ®¸ùȽÄê 242 243 $objQuery->getLastQuery(); 244 244 245 245 if(count($arrRet) > 0) { … … 249 249 } 250 250 $arrFiles[] = $arrRet[0]['extern_php']; 251 251 /* 252 252 foreach($arrFiles as $val) { 253 253 $path = MODULE_PATH . $val; … … 259 259 } 260 260 } 261 261 */ 262 262 // ɬÍפÊSQLʸ¤Î¼Â¹Ô 263 263 if($arrRet[0]['uninstall_sql'] != "") { … … 279 279 } 280 280 281 /* 281 282 if($flg_ok) { 282 283 // ¥Ð¡¼¥¸¥ç¥ó¾ðÊó¤òºï½ü¤¹¤ë¡£ … … 285 286 $objQuery->update("dtb_module", $sqlval, "module_id = ?", array($arrRet[0]['module_id'])); 286 287 } 288 */ 287 289 } 288 290
Note: See TracChangeset
for help on using the changeset viewer.
