mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1272 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
ea478b24e4
commit
99dfa91c4b
12 changed files with 23 additions and 18 deletions
|
|
@ -106,7 +106,7 @@
|
|||
|
||||
// db 정보 설정
|
||||
$db_config_file = $this->getConfigFile();
|
||||
if(file_exists($db_config_file)) include $db_config_file;
|
||||
if(file_exists($db_config_file)) @include($db_config_file);
|
||||
|
||||
$this->_setDBInfo($db_info);
|
||||
}
|
||||
|
|
@ -208,7 +208,7 @@
|
|||
if(!file_exists($filename)) return;
|
||||
if(in_array($filename, $this->loaded_lang_files)) return;
|
||||
$this->loaded_lang_files[] = $filename;
|
||||
include ($filename);
|
||||
@include($filename);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -202,7 +202,7 @@
|
|||
|
||||
if($source_args) $args = clone($source_args);
|
||||
|
||||
$output = include($cache_file);
|
||||
$output = @include($cache_file);
|
||||
|
||||
if( (is_a($output, 'Object')||is_subclass_of($output,'Object'))&&!$output->toBool()) return $output;
|
||||
|
||||
|
|
|
|||
|
|
@ -204,7 +204,7 @@
|
|||
// 레이아웃 정보중 menu를 Context::set
|
||||
if($layout_info->menu_count) {
|
||||
foreach($layout_info->menu as $menu_id => $menu) {
|
||||
if(file_exists($menu->php_file)) include($menu->php_file);
|
||||
if(file_exists($menu->php_file)) @include($menu->php_file);
|
||||
Context::set($menu_id, $menu);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -88,6 +88,9 @@
|
|||
// include 변경 <!--#include($path, $filename)-->
|
||||
$buff = preg_replace_callback('!<\!--#include\(([^\)]*?)\)-->!is', array($this, '_compileIncludeToCode'), $buff);
|
||||
|
||||
// include 변경 <!--#include($path, $filename)-->
|
||||
$buff = preg_replace_callback('!<\!--#include\(([^\)]*?)\)-->!is', array($this, '_compileIncludeToCode'), $buff);
|
||||
|
||||
// 이미지 태그 img의 src의 값이 http:// 나 / 로 시작하지 않으면 제로보드의 root경로부터 시작하도록 변경
|
||||
$buff = preg_replace_callback('!img([^>]*)src=[\'"]{1}(.*?)[\'"]{1}!is', array($this, '_compileImgPath'), $buff);
|
||||
|
||||
|
|
@ -327,7 +330,7 @@
|
|||
$eval_str = "?>".$buff;
|
||||
eval($eval_str);
|
||||
} else {
|
||||
@include $compiled_tpl_file;
|
||||
@include($compiled_tpl_file);
|
||||
}
|
||||
|
||||
$output = ob_get_contents();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue