* add version and upgrade it.

This commit is contained in:
wangyidong
2018-11-05 09:05:01 +08:00
parent 339709737b
commit 7a6e458de1
6 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
10.5.stable
10.5.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.5'; // ZenTaoPHP的版本。 The version of ZenTaoPHP. Don't change it.
$config->version = '10.5.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
View File
@@ -181,6 +181,7 @@ $lang->story->lblChange = '變更需求';
$lang->story->lblReview = '評審需求';
$lang->story->lblActivate = '激活需求';
$lang->story->lblClose = '關閉需求';
$lang->story->lblTBC = '任務Bug用例';
$lang->story->checkAffection = '影響範圍';
$lang->story->affectedProjects = '影響的' . $lang->projectCommon;
+1
View File
@@ -39,6 +39,7 @@ $lang->task->confirmStoryChange = "確認需求變動";
$lang->task->progress = '進度';
$lang->task->progressTips = '已消耗/(已消耗+剩餘)';
$lang->task->copy = '複製任務';
$lang->task->waitTask = '未開始的任務';
$lang->task->common = '任務';
$lang->task->id = '編號';
+1
View File
@@ -97,3 +97,4 @@ $lang->upgrade->fromVersions['10_2'] = '10.2';
$lang->upgrade->fromVersions['10_3'] = '10.3';
$lang->upgrade->fromVersions['10_3_1'] = '10.3.1';
$lang->upgrade->fromVersions['10_4'] = '10.4';
$lang->upgrade->fromVersions['10_5'] = '10.5';
+2
View File
@@ -240,6 +240,7 @@ class upgradeModel extends model
case '10_4':
$this->execSQL($this->getUpgradeFile('10.4'));
$this->changeTaskParentValue();
case '10_5':
}
$this->deletePatch();
@@ -356,6 +357,7 @@ class upgradeModel extends model
case '10_3':
case '10_3_1': $confirmContent .= file_get_contents($this->getUpgradeFile('10.3.1'));
case '10_4': $confirmContent .= file_get_contents($this->getUpgradeFile('10.4'));
case '10_5':
}
return str_replace('zt_', $this->config->db->prefix, $confirmContent);
}