Changeset 7460 for temp/trunk/html/admin
- Timestamp:
- 2006/11/06 14:08:38 (20 years ago)
- Location:
- temp/trunk/html/admin/system
- Files:
-
- 2 edited
-
load_module.php (modified) (1 diff)
-
module.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/html/admin/system/load_module.php
r6622 r7460 16 16 $path = MODULE_PATH . $arrRet[0]['main_php']; 17 17 if(file_exists($path)) { 18 require_once($path); 18 19 if($_GET['mode'] == "module_del"){ 20 // ¥â¥¸¥å¡¼¥ë¦¤Ëºï½ü¾ðÊó¤òÁ÷¿®¤¹¤ë 21 $req = new HTTP_Request($path); 22 $req->setMethod(HTTP_REQUEST_METHOD_POST); 23 $req->addPostData("mode", "module_del"); 24 $req->sendRequest(); 25 $req->clearPostData(); 26 }else{ 27 require_once($path); 28 } 19 29 exit; 20 30 } else { -
temp/trunk/html/admin/system/module.php
r7459 r7460 278 278 279 279 // ¥â¥¸¥å¡¼¥ë¦¤Ëºï½ü¾ðÊó¤òÁ÷¿®¤¹¤ë 280 $req = new HTTP_Request("http://test.ec-cube.net/ec-cube/admin/system/load_module.php?module_id=" . $_POST['module_id']); 281 $req->setMethod(HTTP_REQUEST_METHOD_POST); 282 $req->addPostData("mode", "mdl_del"); 280 $req = new HTTP_Request("http://test.ec-cube.net/ec-cube/admin/system/load_module.php"); 281 $req->setMethod(HTTP_REQUEST_METHOD_GET); 282 $req->addPostData("module_id", $arrRet[0]['module_id']); 283 $req->addPostData("mode", "module_del"); 283 284 $req->clearPostData(); 284 if (!PEAR::isError($req->sendRequest())) { 285 } 286 exit(); 285 exit 287 286 288 287 /*
Note: See TracChangeset
for help on using the changeset viewer.
