mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
loadFile() error
git-svn-id: http://xe-core.googlecode.com/svn/branches/luminous@12581 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
ccfaedc2f8
commit
eac2272e05
1 changed files with 4 additions and 1 deletions
|
|
@ -102,7 +102,10 @@
|
|||
$file->filePath = $this->_getAbsFileUrl($pathInfo['dirname']);
|
||||
$file->fileRealPath = FileHandler::getRealPath($pathInfo['dirname']);
|
||||
$file->fileExtension = strtolower($pathInfo['extension']);
|
||||
$file->fileNameNoExt = preg_replace('/\.min$/', '', $pathInfo['filename']);
|
||||
|
||||
// Remove .min
|
||||
$file->fileNameNoExt = preg_replace("/\.{$file->fileExtension}$/", '', $file->fileName);
|
||||
$file->fileNameNoExt = preg_replace("/\.min$/", '', $file->fileNameNoExt);
|
||||
$file->keyName = implode('.', array($file->fileNameNoExt, $file->fileExtension));
|
||||
|
||||
if(strpos($file->filePath, '://') === FALSE)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue