修改缓存文件夹名称
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -101,7 +101,6 @@ publish
|
|||||||
[Oo]bj
|
[Oo]bj
|
||||||
sql
|
sql
|
||||||
TestResults
|
TestResults
|
||||||
*.Cache
|
|
||||||
ClientBin
|
ClientBin
|
||||||
stylecop.*
|
stylecop.*
|
||||||
~$*
|
~$*
|
||||||
|
|||||||
@@ -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)){
|
||||||
|
|||||||
@@ -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(){
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user