mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
Tempalte 새로운 문법에서 load 태그의 대상 파일 잘못 인식하는 문제 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7750 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
337c8ec81f
commit
aab2e14714
1 changed files with 3 additions and 3 deletions
|
|
@ -490,7 +490,7 @@
|
|||
'?>%s',
|
||||
"\n",
|
||||
"\n",
|
||||
$base_path,
|
||||
$this->path,
|
||||
$filename,
|
||||
"\n",
|
||||
"\n",
|
||||
|
|
@ -499,13 +499,13 @@
|
|||
break;
|
||||
// css file
|
||||
case 'css' :
|
||||
if(!preg_match('/^(http|\/)/i',$source_filename)) $source_filename = $base_path.$filename;
|
||||
if(!preg_match('/^(http|\/)/i',$source_filename)) $source_filename = $this->path.$filename;
|
||||
if($type == 'unload') $output = '<?php Context::unloadCSSFile("'.$source_filename.'"); ?>';
|
||||
else $output = '<?php Context::addCSSFile("'.$source_filename.'"); ?>';
|
||||
break;
|
||||
// js file
|
||||
case 'js' :
|
||||
if(!preg_match('/^(http|\/)/i',$source_filename)) $source_filename = $base_path.$filename;
|
||||
if(!preg_match('/^(http|\/)/i',$source_filename)) $source_filename = $this->path.$filename;
|
||||
if($type == 'unload') $output = '<?php Context::unloadJsFile("'.$source_filename.'"); ?>';
|
||||
else $output = '<?php Context::addJsFile("'.$source_filename.'"); ?>';
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue