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