mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@903 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
a620eaf236
commit
4d3d4ed9ad
3 changed files with 22 additions and 10 deletions
|
|
@ -325,7 +325,21 @@
|
|||
/**
|
||||
* @brief request method가 어떤것인지 판단하여 저장 (GET/POST/XMLRPC)
|
||||
**/
|
||||
function _setRequestMethod() {
|
||||
function setRequestMethod($type) {
|
||||
$oContext = &Context::getInstance();
|
||||
$oContext->_setRequestMethod($type);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @brief request method가 어떤것인지 판단하여 저장 (GET/POST/XMLRPC)
|
||||
**/
|
||||
function _setRequestMethod($type = '') {
|
||||
if($type) {
|
||||
$this->request_method = $type;
|
||||
return;
|
||||
}
|
||||
|
||||
if($GLOBALS['HTTP_RAW_POST_DATA']) $this->request_method = "XMLRPC";
|
||||
else $this->request_method = $_SERVER['REQUEST_METHOD'];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue