增加cache文件夹

This commit is contained in:
2012-10-16 17:00:03 +08:00
parent 99e008c3a8
commit 0aea8a23e3
5 changed files with 187 additions and 3 deletions

View File

@@ -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)){