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

This commit is contained in:
khongchi 2014-08-18 16:37:29 +09:00 committed by bnu
parent e9ae84b852
commit 5276eda4c5

View file

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