mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
#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:
parent
ca3ce43246
commit
a1b2b8313e
2 changed files with 7 additions and 5 deletions
|
|
@ -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') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue