mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-24 21:59:55 +09:00
optimizer의 for 구문을 foreach로 하여 배열의 key값이 건너띄어져 있더라도 문제 없도록 수정
git-svn-id: http://xe-core.googlecode.com/svn/trunk@2763 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
5dd84615f7
commit
2191288a47
1 changed files with 2 additions and 3 deletions
|
|
@ -33,9 +33,8 @@
|
|||
// 캐시 디렉토리가 없으면 실행하지 않음
|
||||
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]);
|
||||
if(!count($source_files)) return;
|
||||
foreach($source_files as $file) {
|
||||
if(!$file) continue;
|
||||
$file = str_replace("\\","/",$file);
|
||||
if(eregi("^http:\/\/",$file) || $file == './common/css/button.css') $files[] = $file;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue