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