From 7fa44da21ece75920fd43dd618f592c02a8c5e39 Mon Sep 17 00:00:00 2001 From: zero Date: Thu, 26 Jul 2007 12:45:18 +0000 Subject: [PATCH] =?UTF-8?q?=EA=B4=80=EB=A6=AC=EC=9E=90=20=ED=8E=98?= =?UTF-8?q?=EC=9D=B4=EC=A7=80=EC=9D=98=20=EC=B5=9C=EA=B7=BC=EB=89=B4?= =?UTF-8?q?=EC=8A=A4=20=EC=A0=9C=EB=AA=A9=20=EC=A0=95=EB=A0=AC=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD=20=EB=B0=8F=20=EB=82=A0=EC=A7=9C=20=ED=81=AC=EA=B8=B0?= =?UTF-8?q?=20=EC=A1=B0=EC=A0=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/trunk@2040 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/admin/admin.admin.view.php | 1 + modules/admin/tpl/index.html | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/admin/admin.admin.view.php b/modules/admin/admin.admin.view.php index aada1d653..c9bdce1b9 100644 --- a/modules/admin/admin.admin.view.php +++ b/modules/admin/admin.admin.view.php @@ -54,6 +54,7 @@ if(!file_exists($cache_file) || filectime($cache_file)+ 60*60 < time()) { FileHandler::getRemoteFile($newest_news_url, $cache_file); } + if(file_exists($cache_file)) { $oXml = new XmlParser(); $buff = $oXml->parse(FileHandler::readFile($cache_file)); diff --git a/modules/admin/tpl/index.html b/modules/admin/tpl/index.html index 9e33d1a54..25ec774d1 100644 --- a/modules/admin/tpl/index.html +++ b/modules/admin/tpl/index.html @@ -58,8 +58,8 @@ - {$val->title} - {zdate($val->date,"Y-m-d H:i")} +  {$val->title} + {zdate($val->date,"Y-m-d H:i")}