#852 isSsl() 메소드 오류 수정 및 deprecated 설정

This commit is contained in:
khongchi 2014-08-18 16:37:29 +09:00
parent b77ffb1af9
commit 216ae5a3d1

View file

@ -8,7 +8,7 @@
class FrontEndFileHandler extends Handler class FrontEndFileHandler extends Handler
{ {
static $isSSL = FALSE; static $isSSL = null;
/** /**
* Map for css * Map for css
@ -50,12 +50,13 @@ class FrontEndFileHandler extends Handler
* Check SSL * Check SSL
* *
* @return bool If using ssl returns true, otherwise returns false. * @return bool If using ssl returns true, otherwise returns false.
* @deprecated
*/ */
function isSsl() function isSsl()
{ {
if(self::$isSSL) if(!is_null(self::$isSSL))
{ {
return TRUE; return self::$isSSL;
} }
$url_info = parse_url(Context::getRequestUrl()); $url_info = parse_url(Context::getRequestUrl());