* change for upgrade.

This commit is contained in:
wangyidong
2018-09-07 14:37:45 +08:00
parent fb9e21ffa4
commit f2d58faaf1
5 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -1 +1 @@
10.3.stable
10.3.1
+1 -1
View File
@@ -16,7 +16,7 @@ if(!class_exists('config')){class config{}}
if(!function_exists('getWebRoot')){function getWebRoot(){}}
/* 基本设置。Basic settings. */
$config->version = '10.3'; // ZenTaoPHP的版本。 The version of ZenTaoPHP. Don't change it.
$config->version = '10.3.1'; // ZenTaoPHP的版本。 The version of ZenTaoPHP. Don't change it.
$config->charset = 'UTF-8'; // ZenTaoPHP的编码。 The encoding of ZenTaoPHP.
$config->cookieLife = time() + 2592000; // Cookie的生存时间。The cookie life time.
$config->timezone = 'Asia/Shanghai'; // 时区设置。 The time zone setting, for more see http://www.php.net/manual/en/timezones.php.
+1 -1
View File
@@ -38,7 +38,7 @@ $lang->testreport->deleted = '已刪除';
$lang->testreport->legendBasic = '基本信息';
$lang->testreport->legendStoryAndBug = '測試範圍';
$lang->testreport->legendBuild = '測試輪次';
$lang->testreport->legendCase = '執行的用例';
$lang->testreport->legendCase = '關聯的用例';
$lang->testreport->legendLegacyBugs = '遺留的Bug';
$lang->testreport->legendReport = '報表';
$lang->testreport->legendComment = '總結';
+1
View File
@@ -94,3 +94,4 @@ $lang->upgrade->fromVersions['10_0_beta'] = '10.0.beta';
$lang->upgrade->fromVersions['10_0'] = '10.0';
$lang->upgrade->fromVersions['10_1'] = '10.1';
$lang->upgrade->fromVersions['10_2'] = '10.2';
$lang->upgrade->fromVersions['10_3'] = '10.3';
+2
View File
@@ -232,6 +232,7 @@ class upgradeModel extends model
$xuanxuanSql = $this->app->getAppRoot() . 'db' . DS . 'xuanxuan.sql';
$this->execSQL($xuanxuanSql);
case '10_2':
case '10_3':
}
$this->deletePatch();
@@ -345,6 +346,7 @@ class upgradeModel extends model
case '10_0': $confirmContent .= file_get_contents($this->getUpgradeFile('10.0'));
case '10_1': $confirmContent .= file_get_contents($this->app->getAppRoot() . 'db' . DS . 'xuanxuan.sql');
case '10_2':
case '10_3':
}
return str_replace('zt_', $this->config->db->prefix, $confirmContent);
}