From c1787592794384b4d59a216ed21cccdeb34af041 Mon Sep 17 00:00:00 2001 From: akasima Date: Wed, 30 Apr 2014 09:37:15 +0900 Subject: [PATCH] =?UTF-8?q?#680=20http=5Fhost=20=EC=B2=B4=ED=81=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- classes/context/Context.class.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/classes/context/Context.class.php b/classes/context/Context.class.php index 4b69ac9ff..d47f34e77 100644 --- a/classes/context/Context.class.php +++ b/classes/context/Context.class.php @@ -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 *