+ add new version.

This commit is contained in:
wyd621
2013-12-06 02:50:36 +00:00
parent 2b174ea38b
commit 68a32dd2d4
6 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
5.2.stable
5.2.1
+1 -1
View File
@@ -17,7 +17,7 @@ if(!function_exists('getWebRoot')){function getWebRoot(){}}
/* Basic settings. */
$config = new config();
$config->version = '5.2'; // The version of zentaopms. Don't change it.
$config->version = '5.2.1'; // 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
@@ -77,3 +77,4 @@ $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';
$lang->upgrade->fromVersions['5_2'] = '5.2';
+1
View File
@@ -77,3 +77,4 @@ $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';
$lang->upgrade->fromVersions['5_2'] = '5.2';
+1
View File
@@ -77,3 +77,4 @@ $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';
$lang->upgrade->fromVersions['5_2'] = '5.2';
+2
View File
@@ -97,6 +97,7 @@ class upgradeModel extends model
case '5_0_beta2':
case '5_0':
case '5_1':
case '5_2':
default: if(!$this->isError()) $this->setting->updateVersion($this->config->version);
}
@@ -153,6 +154,7 @@ class upgradeModel extends model
case '5_0_beta2':
case '5_0':
case '5_1':
case '5_2':
}
return str_replace('zt_', $this->config->db->prefix, $confirmContent);
}