修改缓存文件夹名称
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -101,7 +101,6 @@ publish
|
||||
[Oo]bj
|
||||
sql
|
||||
TestResults
|
||||
*.Cache
|
||||
ClientBin
|
||||
stylecop.*
|
||||
~$*
|
||||
|
||||
@@ -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/cache/');
|
||||
!defined('AUTOPUB_CACHE_DIR') && define('AUTOPUB_CACHE_DIR', EMLOG_ROOT.'/content/plugins/autopub/autopub_file/');
|
||||
|
||||
function dir_is_empty($dir){
|
||||
if($handle = opendir($dir)){
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
!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 adminview(){
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
!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);
|
||||
$DB = MySql::getInstance();
|
||||
$CACHE = Cache::getInstance();
|
||||
|
||||
Reference in New Issue
Block a user