게시판별 첨부파일 제한이 없을경우(공백) 파일첨부모듈의 제한을 따르도록함

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5115 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ngleader 2008-12-18 05:03:41 +00:00
parent a1b2660aa8
commit 471aba08e2
3 changed files with 19 additions and 2 deletions

View file

@ -64,6 +64,7 @@
// cache 파일을 비교하여 문제 없으면 include하고 $widget_info 변수를 return
$cache_file = sprintf('./files/cache/widget/%s.%s.cache.php', $widget, Context::getLangType());
if(file_exists($cache_file)&&filemtime($cache_file)>filemtime($xml_file)) {
@include($cache_file);
return $widget_info;
@ -76,7 +77,7 @@
if(!$xml_obj) return;
$buff = '';
debugPrint($xml_obj);
if($xml_obj->version && $xml_obj->attrs->version == '0.2') {
// 위젯의 제목, 버전
$buff .= sprintf('$widget_info->widget = "%s";', $widget);