Ticket #15 (closed バグ指摘: 修正済)

Opened 17 years ago

Last modified 17 years ago

自身のサイトにHttpRequestを送る

Reported by: inoue Owned by: somebody
Priority: Milestone: EC-CUBE
Component: フロント Version: 1.1系
Keywords: Cc:
修正済み:

Description

環境によりけりなので、自身のサイトにHttpRequestを送る 処理は方針を変える。 (決済モジュール削除の処理など)

Change History

comment:1 Changed 17 years ago by inoue

  • Status changed from new to closed
  • Resolution set to 修正済

[ec-ml 2880]参考

[現状] html/admin/system/module.php 270行目付近 モジュール側に削除情報を送信する $req = new HTTP_Request(SITE_URL . "load_module.php"); $req->addCookie("PHPSESSID", $_COOKIEPHPSESSID?); $req->setMethod(HTTP_REQUEST_METHOD_POST); $req->addPostData("module_id", $arrRet[0]module_id?); $req->addPostData("mode", "module_del"); $req->sendRequest(); $req->clearPostData();

[対応案] モジュールを論理削除する $objQuery->query("UPDATE dtb_payment SET del_flg = 1 WHERE module_id = ?", array($arrRet[0]module_id?));

Note: See TracTickets for help on using tickets.