mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-15 09:19:57 +09:00
merge from 1.5.3.2 (~r11225)
git-svn-id: http://xe-core.googlecode.com/svn/trunk@11226 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
54e3a72065
commit
77f5aa2671
313 changed files with 8058 additions and 14251 deletions
|
|
@ -141,7 +141,8 @@
|
|||
$key = $file->filePath . $file->fileName . "\t" . $file->targetIe;
|
||||
}
|
||||
|
||||
if (!isset($map[$key]) || $mapIndex[$key] != $file->index)
|
||||
(is_null($file->index))?$file->index=0:$file->index=$file->index;
|
||||
if (!isset($map[$file->index][$key]) || $mapIndex[$key] != $file->index)
|
||||
{
|
||||
$this->unloadFile($args[0], $args[2], $args[1]);
|
||||
$map[$file->index][$key] = $file;
|
||||
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -246,7 +247,8 @@
|
|||
}
|
||||
else
|
||||
{
|
||||
$fullFilePath = $file->filePath . '/' . $file->fileName;
|
||||
$noneCache = (is_readable($file->cdnPath.'/'.$file->fileName))?'?'.date('YmdHis', filemtime($file->cdnPath.'/'.$file->fileName)):'';
|
||||
$fullFilePath = $file->filePath . '/' . $file->fileName.$noneCache;
|
||||
}
|
||||
$result[] = array('file' => $fullFilePath, 'media' => $file->media, 'targetie' => $file->targetIe);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue