* change for 5.2 version.

This commit is contained in:
wyd621
2013-11-02 00:46:50 +00:00
parent 6c0fd8e4ff
commit 3457285efc
5 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
5.1.stable
5.2.stable
+1 -1
View File
@@ -17,7 +17,7 @@ if(!function_exists('getWebRoot')){function getWebRoot(){}}
/* Basic settings. */
$config = new config();
$config->version = '5.1'; // The version of zentaopms. Don't change it.
$config->version = '5.2'; // The version of zentaopms. Don't change it.
$config->charset = 'UTF-8'; // The charset of zentaopms.
$config->cookieLife = time() + 2592000; // 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
@@ -76,3 +76,4 @@ $lang->upgrade->fromVersions['4_3_beta'] = '4.3.beta';
$lang->upgrade->fromVersions['5_0_beta1'] = '5.0.beta1';
$lang->upgrade->fromVersions['5_0_beta2'] = '5.0.beta2';
$lang->upgrade->fromVersions['5_0'] = '5.0';
$lang->upgrade->fromVersions['5_1'] = '5.1';
+1
View File
@@ -76,3 +76,4 @@ $lang->upgrade->fromVersions['4_3_beta'] = '4.3.beta';
$lang->upgrade->fromVersions['5_0_beta1'] = '5.0.beta1';
$lang->upgrade->fromVersions['5_0_beta2'] = '5.0.beta2';
$lang->upgrade->fromVersions['5_0'] = '5.0';
$lang->upgrade->fromVersions['5_1'] = '5.1';
+3
View File
@@ -96,6 +96,7 @@ class upgradeModel extends model
case '5_0_beta1':
case '5_0_beta2':
case '5_0':
case '5_1':
default: if(!$this->isError()) $this->setting->updateVersion($this->config->version);
}
@@ -150,6 +151,8 @@ class upgradeModel extends model
case '4_3_beta': $confirmContent .= file_get_contents($this->getUpgradeFile('4.3'));
case '5_0_beta1':
case '5_0_beta2':
case '5_0':
case '5_1':
}
return str_replace('zt_', $this->config->db->prefix, $confirmContent);
}