mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-11 21:12:15 +09:00
Do not treat symlinks as already minified scripts
This commit is contained in:
parent
d46e9da006
commit
9871c5f547
1 changed files with 1 additions and 1 deletions
|
|
@ -178,7 +178,7 @@ class FrontEndFileHandler extends Handler
|
||||||
$originalFilePath = $file->fileRealPath . '/' . $pathInfo['basename'];
|
$originalFilePath = $file->fileRealPath . '/' . $pathInfo['basename'];
|
||||||
|
|
||||||
// Fix incorrectly minified URL
|
// Fix incorrectly minified URL
|
||||||
if($file->isMinified && !$file->isExternalURL && !file_exists($originalFilePath))
|
if($file->isMinified && !$file->isExternalURL && (!file_exists($originalFilePath) || is_link($originalFilePath)))
|
||||||
{
|
{
|
||||||
if(file_exists($file->fileRealPath . '/' . $file->fileNameNoExt . '.' . $file->fileExtension))
|
if(file_exists($file->fileRealPath . '/' . $file->fileNameNoExt . '.' . $file->fileExtension))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue