#438, 수정된 부분 중 php4에서 지원하지 않는 reference foreach를 제외.

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3928 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
wdlee91 2008-03-12 14:21:01 +00:00
parent ca3ce43246
commit a1b2b8313e
2 changed files with 7 additions and 5 deletions

View file

@ -259,10 +259,12 @@
$base_path = $this->tpl_path;
$given_file = trim($matches[1]);
if(!$given_file) return;
$optimized = strtolower(trim(@$matches[3]));
if(!$optimized) $optimized = 'true';
$media = trim(@$matches[5]);
if(!$media) $media = 'all';
if(isset($matches[3]))
$optimized = strtolower(trim($matches[3]));
if(!$optimized) $optimized = 'true';
if(isset($matches[5]))
$media = trim($matches[5]);
if(!$media) $media = 'all';
// given_file이 lang으로 끝나게 되면 언어팩을 읽도록 함
if(substr($given_file, -4)=='lang') {