Use Formatter class to add multiple common scripts at the same time

This commit is contained in:
Kijin Sung 2016-05-04 14:27:47 +09:00
parent 753a70005a
commit 2a8c18eb01
3 changed files with 34 additions and 22 deletions

View file

@ -7,8 +7,9 @@
* */
class FrontEndFileHandler extends Handler
{
public static $isSSL = null;
/**
* Minification configuration.
*/
public static $minify = null;
/**
@ -55,15 +56,7 @@ class FrontEndFileHandler extends Handler
*/
function isSsl()
{
if(!is_null(self::$isSSL))
{
return self::$isSSL;
}
$url_info = parse_url(Context::getRequestUrl());
self::$isSSL = ($url_info['scheme'] == 'https');
return self::$isSSL;
return \RX_SSL;
}
/**