mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-11 14:32:14 +09:00
Use Formatter class to add multiple common scripts at the same time
This commit is contained in:
parent
753a70005a
commit
2a8c18eb01
3 changed files with 34 additions and 22 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue