From 0aea8a23e32c052d4fd500cc138fb7757cf92765 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E6=9D=BE?= Date: Tue, 16 Oct 2012 17:00:03 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0cache=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E5=A4=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- autopub.php | 2 +- autopub_setting.php | 2 +- autopub_show.php | 2 +- cache/.gitattributes | 22 ++++++ cache/.gitignore | 162 +++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 187 insertions(+), 3 deletions(-) create mode 100644 cache/.gitattributes create mode 100644 cache/.gitignore diff --git a/autopub.php b/autopub.php index defc3a3..0c3798b 100644 --- a/autopub.php +++ b/autopub.php @@ -9,7 +9,7 @@ Author Email: sahala_2007@126.com Author URL: http://xiaosong.org */ !defined('EMLOG_ROOT') && exit('access deined!'); -!defined('AUTOPUB_CACHE_DIR') && define('AUTOPUB_CACHE_DIR', EMLOG_ROOT.'/content/plugins/autopub/autopub_file/'); +!defined('AUTOPUB_CACHE_DIR') && define('AUTOPUB_CACHE_DIR', EMLOG_ROOT.'/content/plugins/autopub/cache/'); function dir_is_empty($dir){ if($handle = opendir($dir)){ diff --git a/autopub_setting.php b/autopub_setting.php index bc8c83c..d41a05a 100644 --- a/autopub_setting.php +++ b/autopub_setting.php @@ -5,7 +5,7 @@ */ !defined('EMLOG_ROOT') && exit('access deined!'); -!defined('AUTOPUB_CACHE_DIR') && define('AUTOPUB_CACHE_DIR', EMLOG_ROOT.'/content/plugins/autopub/autopub_file/'); +!defined('AUTOPUB_CACHE_DIR') && define('AUTOPUB_CACHE_DIR', EMLOG_ROOT.'/content/plugins/autopub/cache/'); function plugin_setting_view(){ } function adminview(){ diff --git a/autopub_show.php b/autopub_show.php index 54db6d3..3e2ed6b 100644 --- a/autopub_show.php +++ b/autopub_show.php @@ -1,6 +1,6 @@