* change for upgrade.

This commit is contained in:
wangyidong
2017-01-03 09:45:47 +08:00
parent e8df6cf433
commit 8ba21afa1c
5 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
8.4.1
9.0.beta
+1 -1
View File
@@ -17,7 +17,7 @@ if(!function_exists('getWebRoot')){function getWebRoot(){}}
/* Basic settings. */
$config = new config();
$config->version = '8.4.1'; // The version of zentaopms. Don't change it.
$config->version = '9.0.beta'; // 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
@@ -113,3 +113,4 @@ $lang->upgrade->fromVersions['8_2_6'] = '8.2.6';
$lang->upgrade->fromVersions['8_3'] = '8.3';
$lang->upgrade->fromVersions['8_3_1'] = '8.3.1';
$lang->upgrade->fromVersions['8_4'] = '8.4';
$lang->upgrade->fromVersions['8_4_1'] = '8.4.1';
+1
View File
@@ -113,3 +113,4 @@ $lang->upgrade->fromVersions['8_2_6'] = '8.2.6';
$lang->upgrade->fromVersions['8_3'] = '8.3';
$lang->upgrade->fromVersions['8_3_1'] = '8.3.1';
$lang->upgrade->fromVersions['8_4'] = '8.4';
$lang->upgrade->fromVersions['8_4_1'] = '8.4.1';
+3
View File
@@ -159,6 +159,8 @@ class upgradeModel extends model
$this->renameMainLib();
$this->adjustPriv8_4();
case '8_4':
case '8_4_1':
$this->execSQL($this->getUpgradeFile('8.4.1'));
}
$this->deletePatch();
@@ -244,6 +246,7 @@ class upgradeModel extends model
case '8_3':
case '8_3_1': $confirmContent .= file_get_contents($this->getUpgradeFile('8.3.1'));
case '8_4':
case '8_4_1': $confirmContent .= file_get_contents($this->getUpgradeFile('8.4.1'));
}
return str_replace('zt_', $this->config->db->prefix, $confirmContent);
}