Browse Source

bump 6.1.7

tags/6.1.7
tianya 2 years ago
parent
commit
a94c1b8b44
6 changed files with 19 additions and 9 deletions
  1. +10
    -0
      docs/changelog.md
  2. +3
    -3
      src/admin/templets/catalog_add_quick.htm
  3. +1
    -1
      src/install/index.php
  4. +1
    -1
      src/system/common.inc.php
  5. +1
    -3
      src/system/libraries/agent.class.php
  6. +3
    -1
      src/system/libraries/statistics.class.php

+ 10
- 0
docs/changelog.md View File

@@ -1,6 +1,16 @@
# 更新记录
通过访问 https://www.dedebiz.com/git 获取完整更新记录

# v6.1.7
- 内置轻量级流量统计工具;
- 增加对IPv6的支持;
- 优化伪静态功能;
- CKEditor升级到4.18.0;
- 后台移除对IE浏览器的支持,增加浏览器升级提示;
- 会员中心、系统后台、默认模板样式优化;
- datalist增加为空的显示;
- 常规问题修复;
# v6.1.6
- 移除dedeajax相关请求函数,改成fetch获取数据;
- 修正模块认证信息提示错误;


+ 3
- 3
src/admin/templets/catalog_add_quick.htm View File

@@ -46,14 +46,14 @@
<script language="javascript">
function ShowHide(objname) {
var obj = document.getElementById(objname);
if (obj.style.display == "block" || obj.style.display == "")
if (obj.style.display == "")
obj.style.display = "none";
else
obj.style.display = "block";
obj.style.display = "";
}
function ShowObj(objname) {
var obj = document.getElementById(objname);
obj.style.display = "block";
obj.style.display = "";
}
function HideObj(objname) {
var obj = document.getElementById(objname);


+ 1
- 1
src/install/index.php View File

@@ -15,7 +15,7 @@ if(file_exists(INSLOCKFILE))
}
$verMsg = 'V6';
$dfDbname = 'DedeBIZ';
$cfg_version_detail = '6.1.7beta'; //详细版本号
$cfg_version_detail = '6.1.7'; //详细版本号
$errmsg = '';
if (version_compare(PHP_VERSION, '8.0.0', '>=')) {
mysqli_report(MYSQLI_REPORT_OFF);


+ 1
- 1
src/system/common.inc.php View File

@@ -187,7 +187,7 @@ $cfg_soft_dir = $cfg_medias_dir.'/soft';
$cfg_other_medias = $cfg_medias_dir.'/media';
//软件摘要信息,****请不要删除本项**** 否则系统无法正确接收系统漏洞或升级信息
$cfg_version = 'V6';
$cfg_version_detail = '6.1.7beta'; //详细版本号
$cfg_version_detail = '6.1.7'; //详细版本号
$cfg_soft_lang = 'utf-8';
$cfg_soft_public = 'base';
$cfg_softname = '织梦内容管理系统';


+ 1
- 3
src/system/libraries/agent.class.php View File

@@ -5,8 +5,6 @@ require_once(DEDEINC."/libraries/mobiledetect.class.php");

// copyright https://github.com/jenssegers/agent

use BadMethodCallException;

class Agent extends Mobile_Detect
{
/**
@@ -405,7 +403,7 @@ class Agent extends Mobile_Detect
{
// Make sure the name starts with 'is', otherwise
if (strpos($name, 'is') !== 0) {
throw new BadMethodCallException("No such method exists: $name");
throw new Exception("No such method exists: $name");
}

$this->setDetectionType(self::DETECTION_TYPE_EXTENDED);


+ 3
- 1
src/system/libraries/statistics.class.php View File

@@ -99,7 +99,9 @@ EOT;
ksort($pmvalue);
$sign = $pmvalue['sign'];
unset($pmvalue['sign']);

if (time() - $pmvalue['t'] > 5) {
die("DedeBIZ:time out");
}
$cs = sha1(http_build_query($pmvalue).md5($cfg_cookie_encode));
if ($sign !== $cs) {
die("DedeBIZ:check sign failed");


Loading…
Cancel
Save