Ignore:
Timestamp:
2006/11/06 14:44:04 (20 years ago)
Author:
kakinaka
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/html/admin/system/load_module.php

    r7469 r7472  
    1212sfIsSuccess($objSess); 
    1313 
    14 if(is_numeric($_GET['module_id'])) { 
     14if($_GET['module_id'] != ""){ 
     15    $module_id = $_GET['module_id']; 
     16}elseif($_POST['module_id'] != ""){ 
     17    $module_id = $_POST['module_id']; 
     18} 
     19 
     20if(is_numeric($module_id)) { 
    1521    $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)); 
    1723    $path = MODULE_PATH . $arrRet[0]['main_php']; 
    1824    if(file_exists($path)) { 
    19          
    20         if($_GET['mode'] == "module_del"){ 
    21             $_POST["mode"] = $_GET['mode']; 
    22         } 
    23              
    2425        require_once($path); 
    2526        exit; 
Note: See TracChangeset for help on using the changeset viewer.