修改缓存文件夹名称

This commit is contained in:
2012-10-16 16:33:07 +08:00
parent cf457b8634
commit 99e008c3a8
4 changed files with 3 additions and 4 deletions

1
.gitignore vendored
View File

@@ -101,7 +101,6 @@ publish
[Oo]bj [Oo]bj
sql sql
TestResults TestResults
*.Cache
ClientBin ClientBin
stylecop.* stylecop.*
~$* ~$*

View File

@@ -9,7 +9,7 @@ Author Email: sahala_2007@126.com
Author URL: http://xiaosong.org Author URL: http://xiaosong.org
*/ */
!defined('EMLOG_ROOT') && exit('access deined!'); !defined('EMLOG_ROOT') && exit('access deined!');
!defined('AUTOPUB_CACHE_DIR') && define('AUTOPUB_CACHE_DIR', EMLOG_ROOT.'/content/plugins/autopub/cache/'); !defined('AUTOPUB_CACHE_DIR') && define('AUTOPUB_CACHE_DIR', EMLOG_ROOT.'/content/plugins/autopub/autopub_file/');
function dir_is_empty($dir){ function dir_is_empty($dir){
if($handle = opendir($dir)){ if($handle = opendir($dir)){

View File

@@ -5,7 +5,7 @@
*/ */
!defined('EMLOG_ROOT') && exit('access deined!'); !defined('EMLOG_ROOT') && exit('access deined!');
!defined('AUTOPUB_CACHE_DIR') && define('AUTOPUB_CACHE_DIR', EMLOG_ROOT.'/content/plugins/autopub/cache/'); !defined('AUTOPUB_CACHE_DIR') && define('AUTOPUB_CACHE_DIR', EMLOG_ROOT.'/content/plugins/autopub/autopub_file/');
function plugin_setting_view(){ function plugin_setting_view(){
} }
function adminview(){ function adminview(){

View File

@@ -1,6 +1,6 @@
<?php <?php
!defined('EMLOG_ROOT') && exit('access deined!'); !defined('EMLOG_ROOT') && exit('access deined!');
define('AUTOPUB_CACHE_DIR', EMLOG_ROOT.'/content/plugins/autopub/cache/'); define('AUTOPUB_CACHE_DIR', EMLOG_ROOT.'/content/plugins/autopub/autopub_file/');
set_time_limit(0); set_time_limit(0);
$DB = MySql::getInstance(); $DB = MySql::getInstance();
$CACHE = Cache::getInstance(); $CACHE = Cache::getInstance();