diff --git a/frontend/db/update1.1.1.sql b/frontend/db/update1.1.1.sql index 4578a06d..235e72b4 100644 --- a/frontend/db/update1.1.1.sql +++ b/frontend/db/update1.1.1.sql @@ -2,3 +2,4 @@ ALTER TABLE `q_instance` ADD COLUMN `introduction` varchar(500) NOT NULL AFTER ` ALTER TABLE `q_instance` ADD COLUMN `channel` char(20) NOT NULL AFTER `source`; UPDATE `q_instance` SET `introduction` = `desc` WHERE id>0; +UPDATE `q_instance` SET `channel` = 'stable' WHERE id>0; diff --git a/frontend/module/cne/model.php b/frontend/module/cne/model.php index 9181562b..225bdae4 100644 --- a/frontend/module/cne/model.php +++ b/frontend/module/cne/model.php @@ -636,7 +636,7 @@ protected function cneServerError() { $error = new stdclass; $error->code = 600; - $error->message = $message ? $message : $this->lang->CNE->serverError; + $error->message = $this->lang->CNE->serverError; return $error; } diff --git a/frontend/www/index.php b/frontend/www/index.php index 2ab3b976..c8d2ee03 100644 --- a/frontend/www/index.php +++ b/frontend/www/index.php @@ -46,7 +46,7 @@
系统已更新,请登录后台运行升级指令:q manage upgrade
The systemc has been updated, Please run command in console:q manage upgrade
The system has been updated, Please run command in console:q manage upgrade