mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
optimizer에서 사용할 캐시 디렉토리를 만들지 못할 경우 동작이 이상없도록 코드 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2673 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
2dfad3d13a
commit
3a6cc1c303
1 changed files with 2 additions and 0 deletions
|
|
@ -26,6 +26,8 @@
|
|||
* @brief optimize 대상 파일을 받아서 처리 후 optimize 된 파일이름을 return
|
||||
**/
|
||||
function getOptimizedFiles($source_files, $type = "js") {
|
||||
if(!is_dir($this->cache_path)) return $source_files;
|
||||
|
||||
$file_count = count($source_files);
|
||||
for($i=0;$i<$file_count;$i++) {
|
||||
$file = trim($source_files[$i]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue