Browse Source

优化软件更新

tags/6.2.6
叙述、别离 1 year ago
parent
commit
acb5109cf7
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      src/admin/api.php
  2. +1
    -1
      src/install/sql-dfdata.txt

+ 1
- 0
src/admin/api.php View File

@@ -298,6 +298,7 @@ if ($action === 'is_need_check_code') {
$f->filename = preg_replace('/^\/admin/', $curDir, $f->filename);
$srcFile = $backupVerPath.$f->filename;
$dstFile = str_replace(array("\\", "//"), '/', DEDEROOT.$f->filename);
@mkdir(dirname($dstFile), 0777, true);
$rs = @copy($srcFile, $dstFile);
if ($rs) {
unlink($srcFile);


+ 1
- 1
src/install/sql-dfdata.txt View File

@@ -4028,7 +4028,7 @@ INSERT INTO `#@__sysconfig` VALUES ('1','cfg_basehost','站点网址','1','strin
('94','cfg_smtp_user','SMTP服务器帐号','2','string','tianya'),
('95','cfg_smtp_password','SMTP服务器密码','2','string','tianya'),
('96','cfg_online_type','在线支付网关类型','2','string','nps'),
('97','cfg_upload_switch','删除文档文件同时删除相关附件文件','2','bool','Y'),
('97','cfg_upload_switch','删除文档同时删除相关附件文件','2','bool','Y'),
('98','cfg_fck_xhtml','是否使用富文本','2','bool','N'),
('99','cfg_allsearch_limit','网站全局搜索时间限制(秒)','2','string','1'),
('100','cfg_delete','是否开启文档回收站','2','bool','Y'),


Loading…
Cancel
Save