mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-21 19:32:15 +09:00
#680 http_host 체크
This commit is contained in:
parent
403bb16bdc
commit
c178759279
1 changed files with 13 additions and 0 deletions
|
|
@ -205,6 +205,9 @@ class Context
|
|||
$this->context->lang = &$GLOBALS['lang'];
|
||||
$this->context->_COOKIE = $_COOKIE;
|
||||
|
||||
// 20140429 editor/image_link
|
||||
$this->_checkGlobalVars();
|
||||
|
||||
$this->setRequestMethod('');
|
||||
|
||||
$this->_setXmlRpcArgument();
|
||||
|
|
@ -1115,6 +1118,16 @@ class Context
|
|||
($self->request_method = $_SERVER['REQUEST_METHOD']);
|
||||
}
|
||||
|
||||
/**
|
||||
* handle global arguments
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function _checkGlobalVars()
|
||||
{
|
||||
$this->_recursiveCheckVar($_SERVER['HTTP_HOST']);
|
||||
}
|
||||
|
||||
/**
|
||||
* handle request areguments for GET/POST
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue