mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
Issue 2144 JS or CSS file index default value is 0 and the index should have interval value.(NO NULL value.)
And remove all file should refer to '$this->'. git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.1@10896 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
6284a4c828
commit
f71fcc8b31
1 changed files with 7 additions and 6 deletions
|
|
@ -143,6 +143,7 @@
|
|||
|
||||
if (!isset($map[$key]) || $mapIndex[$key] != $file->index)
|
||||
{
|
||||
(is_null($file->index))?$file->index=0:$file->index=$file->index;
|
||||
$this->unloadFile($args[0], $args[2], $args[1]);
|
||||
$map[$file->index][$key] = $file;
|
||||
$mapIndex[$key] = $file->index;
|
||||
|
|
@ -207,16 +208,16 @@
|
|||
{
|
||||
if ($type == 'css' || $type == 'all')
|
||||
{
|
||||
$cssMap = array();
|
||||
$cssMapIndex = array();
|
||||
$this->cssMap = array();
|
||||
$this->cssMapIndex = array();
|
||||
}
|
||||
|
||||
if ($type == 'js' || $type == 'all')
|
||||
{
|
||||
$jsHeadMap = array();
|
||||
$jsBodyMap = array();
|
||||
$jsHeadMapIndex = array();
|
||||
$jsBodyMapIndex = array();
|
||||
$this->jsHeadMap = array();
|
||||
$this->jsBodyMap = array();
|
||||
$this->jsHeadMapIndex = array();
|
||||
$this->jsBodyMapIndex = array();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue