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