mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-22 05:15:29 +09:00
#852 isSsl() 메소드 오류 수정 및 deprecated 설정
This commit is contained in:
parent
b77ffb1af9
commit
216ae5a3d1
1 changed files with 4 additions and 3 deletions
|
|
@ -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());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue