Changeset 7472 for temp/trunk/html/admin/system/load_module.php
- Timestamp:
- 2006/11/06 14:44:04 (20 years ago)
- File:
-
- 1 edited
-
temp/trunk/html/admin/system/load_module.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/html/admin/system/load_module.php
r7469 r7472 12 12 sfIsSuccess($objSess); 13 13 14 if(is_numeric($_GET['module_id'])) { 14 if($_GET['module_id'] != ""){ 15 $module_id = $_GET['module_id']; 16 }elseif($_POST['module_id'] != ""){ 17 $module_id = $_POST['module_id']; 18 } 19 20 if(is_numeric($module_id)) { 15 21 $objQuery = new SC_Query(); 16 $arrRet = $objQuery->select("main_php", "dtb_module", "module_id = ?", array($ _GET['module_id']));22 $arrRet = $objQuery->select("main_php", "dtb_module", "module_id = ?", array($module_id)); 17 23 $path = MODULE_PATH . $arrRet[0]['main_php']; 18 24 if(file_exists($path)) { 19 20 if($_GET['mode'] == "module_del"){21 $_POST["mode"] = $_GET['mode'];22 }23 24 25 require_once($path); 25 26 exit;
Note: See TracChangeset
for help on using the changeset viewer.
