mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
issue 2140, retouch
git-svn-id: http://xe-core.googlecode.com/svn/branches/luminous@11272 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
c2697a95b4
commit
b4e53d306f
1 changed files with 6 additions and 0 deletions
|
|
@ -114,9 +114,15 @@
|
||||||
if(file_exists("{$file->fileRealPath}/{$tmp}"))
|
if(file_exists("{$file->fileRealPath}/{$tmp}"))
|
||||||
{
|
{
|
||||||
$file->fileName = $tmp;
|
$file->fileName = $tmp;
|
||||||
|
$file->useMin = TRUE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(!$file->useMin && !file_exists("{$file->fileRealPath}/{$file->fileName}"))
|
||||||
|
{
|
||||||
|
$file->fileName = "{$file->fileNameNoExt}.min.{$file->fileExtension}";
|
||||||
|
}
|
||||||
|
|
||||||
if (strpos($file->filePath, '://') == false)
|
if (strpos($file->filePath, '://') == false)
|
||||||
{
|
{
|
||||||
$file->useCdn = $useCdn;
|
$file->useCdn = $useCdn;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue