| @@ -1,6 +1,16 @@ | |||||
| # 更新记录 | # 更新记录 | ||||
| 通过访问 https://www.dedebiz.com/git 获取完整更新记录 | 通过访问 https://www.dedebiz.com/git 获取完整更新记录 | ||||
| # V6.2.11 | |||||
| - 增加商业版扩展DedeBIZ Search; | |||||
| - 增加用户中心个人主页功能; | |||||
| - 修正联动模型调用错误; | |||||
| - 修正软件模型会员发布器缺失的错误; | |||||
| - 修正TAG为空无法删除的错误; | |||||
| - 修正TAG生成目录错误; | |||||
| - 移除FTP的支持; | |||||
| - 其他常规问题修复; | |||||
| - | |||||
| # V6.2.10 | # V6.2.10 | ||||
| - DedeBIZ基于自由软件基金会发行的GPL v2许可证发布 | - DedeBIZ基于自由软件基金会发行的GPL v2许可证发布 | ||||
| - 修正后台功能说明提示; | - 修正后台功能说明提示; | ||||
| @@ -76,11 +76,15 @@ class ActionSearch | |||||
| foreach ($text as $key => $value) { | foreach ($text as $key => $value) { | ||||
| if ($key == 'title' || $key == 'description') { | if ($key == 'title' || $key == 'description') { | ||||
| //仅对title,description进行数组替换 | //仅对title,description进行数组替换 | ||||
| $text[$key] = str_replace($this->keyword, '<span class="text-primary">'.$this->keyword.'</span>', $text[$key]); | |||||
| if ($key == 'description') { | |||||
| $text[$key] = str_replace($this->keyword, '<span class="text-primary"><small>'.$this->keyword.'</small></span>', $text[$key]); | |||||
| } else { | |||||
| $text[$key] = str_replace($this->keyword, '<span class="text-primary">'.$this->keyword.'</span>', $text[$key]); | |||||
| } | |||||
| } | } | ||||
| } | } | ||||
| } else { | } else { | ||||
| $text = str_replace($this->keyword, '<span class="text-primary">'.$this->keyword.'</span>', $text); | |||||
| $text = str_replace($this->keyword, '<span class="text-primary"><small>'.$this->keyword.'</small></span>', $text); | |||||
| } | } | ||||
| return $text; | return $text; | ||||
| } | } | ||||
| @@ -87,7 +87,7 @@ $actionSearch[3] = array( | |||||
| 'title' => '文档模型', | 'title' => '文档模型', | ||||
| 'description' => '所有文档模型管理', | 'description' => '所有文档模型管理', | ||||
| 'soniterm' => array( | 'soniterm' => array( | ||||
| 0 => array( | |||||
| 0 => DEDEBIZ_SAFE_MODE? null : array( | |||||
| 'title' => '文档模型管理', | 'title' => '文档模型管理', | ||||
| 'description' => '网站文档、图片、软件、专题、分类等模型管理', | 'description' => '网站文档、图片、软件、专题、分类等模型管理', | ||||
| 'purview' => 'c_List', | 'purview' => 'c_List', | ||||
| @@ -159,7 +159,7 @@ $actionSearch[4] = array( | |||||
| 'purview' => 'sys_Keyword', | 'purview' => 'sys_Keyword', | ||||
| 'linkurl' => 'article_description_main.php' | 'linkurl' => 'article_description_main.php' | ||||
| ), | ), | ||||
| 6 => array( | |||||
| 6 => DEDEBIZ_SAFE_MODE? null : array( | |||||
| 'title' => '数据库字段替换', | 'title' => '数据库字段替换', | ||||
| 'description' => '网站数据库字段批量替换', | 'description' => '网站数据库字段批量替换', | ||||
| 'purview' => 'sys_ArcBatch', | 'purview' => 'sys_ArcBatch', | ||||
| @@ -363,7 +363,7 @@ $actionSearch[9] = array( | |||||
| 'purview' => 'sys_StringMix', | 'purview' => 'sys_StringMix', | ||||
| 'linkurl' => 'article_string_mix.php' | 'linkurl' => 'article_string_mix.php' | ||||
| ), | ), | ||||
| 8 => array( | |||||
| 8 => DEDEBIZ_SAFE_MODE? null : array( | |||||
| 'title' => '数据库备份还原', | 'title' => '数据库备份还原', | ||||
| 'description' => '数据库备份和还原数据备份', | 'description' => '数据库备份和还原数据备份', | ||||
| 'purview' => 'sys_data', | 'purview' => 'sys_data', | ||||
| @@ -9,6 +9,9 @@ | |||||
| * @link https://www.dedebiz.com | * @link https://www.dedebiz.com | ||||
| */ | */ | ||||
| require_once(dirname(__FILE__)."/config.php"); | require_once(dirname(__FILE__)."/config.php"); | ||||
| if (DEDEBIZ_SAFE_MODE) { | |||||
| die(DedeAlert("系统已启用安全模式,无法使用当前功能",ALERT_DANGER)); | |||||
| } | |||||
| CheckPurview('c_New'); | CheckPurview('c_New'); | ||||
| require_once(DEDEINC."/dedetag.class.php"); | require_once(DEDEINC."/dedetag.class.php"); | ||||
| if (empty($ismake)) $ismake = 0; | if (empty($ismake)) $ismake = 0; | ||||
| @@ -9,6 +9,9 @@ | |||||
| * @link https://www.dedebiz.com | * @link https://www.dedebiz.com | ||||
| */ | */ | ||||
| require_once(dirname(__FILE__)."/config.php"); | require_once(dirname(__FILE__)."/config.php"); | ||||
| if (DEDEBIZ_SAFE_MODE) { | |||||
| die(DedeAlert("系统已启用安全模式,无法使用当前功能",ALERT_DANGER)); | |||||
| } | |||||
| CheckPurview('c_Edit'); | CheckPurview('c_Edit'); | ||||
| require_once(DEDEINC."/dedetag.class.php"); | require_once(DEDEINC."/dedetag.class.php"); | ||||
| require_once(DEDEINC."/libraries/oxwindow.class.php"); | require_once(DEDEINC."/libraries/oxwindow.class.php"); | ||||
| @@ -9,6 +9,9 @@ | |||||
| * @link https://www.dedebiz.com | * @link https://www.dedebiz.com | ||||
| */ | */ | ||||
| require_once(dirname(__FILE__)."/config.php"); | require_once(dirname(__FILE__)."/config.php"); | ||||
| if (DEDEBIZ_SAFE_MODE) { | |||||
| die(DedeAlert("系统已启用安全模式,无法使用当前功能",ALERT_DANGER)); | |||||
| } | |||||
| CheckPurview('c_New'); | CheckPurview('c_New'); | ||||
| require_once(DEDEADMIN."/inc/inc_admin_channel.php"); | require_once(DEDEADMIN."/inc/inc_admin_channel.php"); | ||||
| require_once(DEDEINC."/dedetag.class.php"); | require_once(DEDEINC."/dedetag.class.php"); | ||||
| @@ -9,6 +9,9 @@ | |||||
| * @link https://www.dedebiz.com | * @link https://www.dedebiz.com | ||||
| */ | */ | ||||
| require_once(dirname(__FILE__)."/config.php"); | require_once(dirname(__FILE__)."/config.php"); | ||||
| if (DEDEBIZ_SAFE_MODE) { | |||||
| die(DedeAlert("系统已启用安全模式,无法使用当前功能",ALERT_DANGER)); | |||||
| } | |||||
| CheckPurview('c_New'); | CheckPurview('c_New'); | ||||
| require_once(DEDEINC."/dedetag.class.php"); | require_once(DEDEINC."/dedetag.class.php"); | ||||
| require_once(dirname(__FILE__)."/inc/inc_admin_channel.php"); | require_once(dirname(__FILE__)."/inc/inc_admin_channel.php"); | ||||
| @@ -9,6 +9,9 @@ | |||||
| * @link https://www.dedebiz.com | * @link https://www.dedebiz.com | ||||
| */ | */ | ||||
| require_once(dirname(__FILE__)."/config.php"); | require_once(dirname(__FILE__)."/config.php"); | ||||
| if (DEDEBIZ_SAFE_MODE) { | |||||
| die(DedeAlert("系统已启用安全模式,无法使用当前功能",ALERT_DANGER)); | |||||
| } | |||||
| CheckPurview('c_List'); | CheckPurview('c_List'); | ||||
| require_once(DEDEINC.'/datalistcp.class.php'); | require_once(DEDEINC.'/datalistcp.class.php'); | ||||
| setcookie("ENV_GOBACK_URL", $dedeNowurl, time() + 3600, "/"); | setcookie("ENV_GOBACK_URL", $dedeNowurl, time() + 3600, "/"); | ||||
| @@ -11,7 +11,7 @@ | |||||
| require_once(dirname(__FILE__)."/config.php"); | require_once(dirname(__FILE__)."/config.php"); | ||||
| if (DEDEBIZ_SAFE_MODE) { | if (DEDEBIZ_SAFE_MODE) { | ||||
| die(DedeAlert("系统已启用安全模式,无法使用当前功能",ALERT_DANGER)); | die(DedeAlert("系统已启用安全模式,无法使用当前功能",ALERT_DANGER)); | ||||
| } | |||||
| } | |||||
| CheckPurview('sys_Data'); | CheckPurview('sys_Data'); | ||||
| if (empty($dopost)) $dopost = ''; | if (empty($dopost)) $dopost = ''; | ||||
| if ($cfg_dbtype == 'sqlite') { | if ($cfg_dbtype == 'sqlite') { | ||||
| @@ -19,7 +19,8 @@ | |||||
| </tr> | </tr> | ||||
| <?php foreach ($row['soniterm'] as $rows) {?> | <?php foreach ($row['soniterm'] as $rows) {?> | ||||
| <tr> | <tr> | ||||
| <td><a href="<?php echo $rows['linkurl'] ?>" target="main"><?php echo $rows['title'] ?></a><?php echo $rows['description'] ?></td> | |||||
| <td><a href="<?php echo $rows['linkurl'] ?>" target="main"><?php echo $rows['title'] ?></a> | |||||
| <p class="text-secondary"><small><?php echo $rows['description'] ?></small></p></td> | |||||
| </tr> | </tr> | ||||
| <?php }?> | <?php }?> | ||||
| <?php }?> | <?php }?> | ||||
| @@ -7,7 +7,7 @@ | |||||
| * @link https://www.dedebiz.com | * @link https://www.dedebiz.com | ||||
| */ | */ | ||||
| //系统默认运行模式为安全模式,模板管理、标签管理、数据库管理、模块管理等功能已暂停,如果您需要这些功能,DEDEBIZ_SAFE_MODE后面值`TRUE`改为`FALSE`恢复使用 | //系统默认运行模式为安全模式,模板管理、标签管理、数据库管理、模块管理等功能已暂停,如果您需要这些功能,DEDEBIZ_SAFE_MODE后面值`TRUE`改为`FALSE`恢复使用 | ||||
| define('DEDEBIZ_SAFE_MODE', FALSE); | |||||
| define('DEDEBIZ_SAFE_MODE', TRUE); | |||||
| //生产环境使用`production`,如果采用`dev`模式,会有一些php的报错信息提示,用于开发调试 | //生产环境使用`production`,如果采用`dev`模式,会有一些php的报错信息提示,用于开发调试 | ||||
| if (!defined('DEDE_ENVIRONMENT')) { | if (!defined('DEDE_ENVIRONMENT')) { | ||||
| define('DEDE_ENVIRONMENT', 'production'); | define('DEDE_ENVIRONMENT', 'production'); | ||||