Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

The last commit broke everything because it renamed an externally def…

…ined global variable. Renamed $yuiCurrent to $yui_current in loader.php.
  • Loading branch information...
commit 001c78575703e7f23c4b012462e6d43c88c49cd4 1 parent bea64b4
Adam Moore authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 phploader/loader.php
View
8 phploader/loader.php
@@ -371,14 +371,14 @@ function YAHOO_util_Loader(
throw new Exception("Unable to find a suitable YUI metadata file!");
}
- global $yuiCurrent;
+ global $yui_current;
$this->apcttl = 0;
$this->curlAvail = function_exists('curl_exec');
$this->apcAvail = function_exists('apc_fetch');
$this->jsonAvail = function_exists('json_encode');
$this->customModulesInUse = empty($modules) ? false : true;
- $this->base = $yuiCurrent[YUI_BASE];
+ $this->base = $yui_current[YUI_BASE];
$this->comboDefaultVersion = $yuiVersion;
$this->fullCacheKey = null;
$cache = null;
@@ -402,7 +402,7 @@ function YAHOO_util_Loader(
if ($noYui) {
$this->modules = array();
} else {
- $this->modules = $yuiCurrent['moduleInfo'];
+ $this->modules = $yui_current['moduleInfo'];
}
if ($modules) {
@@ -411,7 +411,7 @@ function YAHOO_util_Loader(
);
}
- $this->skin = $yuiCurrent[YUI_SKIN];
+ $this->skin = $yui_current[YUI_SKIN];
$this->skin['overrides'] = array();
$this->skin[YUI_PREFIX] = "skin-";
$this->filters = array(
Please sign in to comment.
Something went wrong with that request. Please try again.