mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
remove cdn feature
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13187 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
bce0a0b6d4
commit
3581db5932
83 changed files with 137 additions and 225 deletions
|
|
@ -1994,22 +1994,13 @@ class Context
|
|||
* $args[1]: media,
|
||||
* $args[2]: target IE,
|
||||
* $args[3]: index
|
||||
* @param bool $useCdn use cdn
|
||||
* @param string $cdnPrefix cdn prefix
|
||||
* @param string $cdnVersion cdn version
|
||||
*
|
||||
*/
|
||||
function loadFile($args, $useCdn = false, $cdnPrefix = '', $cdnVersion = '')
|
||||
function loadFile($args)
|
||||
{
|
||||
is_a($this, 'Context') ? $self = $this : $self = Context::getInstance();
|
||||
|
||||
if($useCdn && !$cdnPrefix)
|
||||
{
|
||||
$cdnPrefix = __XE_CDN_PREFIX__;
|
||||
$cdnVersion = __XE_CDN_VERSION__;
|
||||
}
|
||||
|
||||
$self->oFrontEndFileHandler->loadFile($args, $useCdn, $cdnPrefix, $cdnVersion);
|
||||
$self->oFrontEndFileHandler->loadFile($args);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue