* change for upgrade.
This commit is contained in:
+1
-1
@@ -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.
|
||||
|
||||
@@ -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 = '總結';
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user