* change for 6.4 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 = '6.3'; // The version of zentaopms. Don't change it.
|
||||
$config->version = '6.4'; // 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
|
||||
|
||||
@@ -2,10 +2,12 @@ $(function()
|
||||
{
|
||||
if(result == 'success')
|
||||
{
|
||||
$.get(createLink('upgrade', 'ajaxCheckExtension'), function(data)
|
||||
$.ajax(
|
||||
{
|
||||
$('#checkExtension').html(data);
|
||||
$('#tohome').html(tohome);
|
||||
type: "get",
|
||||
url: createLink('upgrade', 'ajaxCheckExtension'),
|
||||
success: function(data){$('#checkExtension').html(data);},
|
||||
complete: function(){$('#tohome').html(tohome);}
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
@@ -85,3 +85,4 @@ $lang->upgrade->fromVersions['6_0_beta1'] = '6.0.beta1';
|
||||
$lang->upgrade->fromVersions['6_0'] = '6.0';
|
||||
$lang->upgrade->fromVersions['6_1'] = '6.1';
|
||||
$lang->upgrade->fromVersions['6_2'] = '6.2';
|
||||
$lang->upgrade->fromVersions['6_3'] = '6.3';
|
||||
|
||||
@@ -85,3 +85,4 @@ $lang->upgrade->fromVersions['6_0_beta1'] = '6.0.beta1';
|
||||
$lang->upgrade->fromVersions['6_0'] = '6.0';
|
||||
$lang->upgrade->fromVersions['6_1'] = '6.1';
|
||||
$lang->upgrade->fromVersions['6_2'] = '6.2';
|
||||
$lang->upgrade->fromVersions['6_3'] = '6.3';
|
||||
|
||||
@@ -113,6 +113,7 @@ class upgradeModel extends model
|
||||
case '6_1':
|
||||
$this->execSQL($this->getUpgradeFile('6.1'));
|
||||
case '6_2':
|
||||
case '6_3':
|
||||
|
||||
default: if(!$this->isError()) $this->setting->updateVersion($this->config->version);
|
||||
}
|
||||
@@ -176,6 +177,7 @@ class upgradeModel extends model
|
||||
case '6_0': $confirmContent .= file_get_contents($this->getUpgradeFile('6.0'));
|
||||
case '6_1': $confirmContent .= file_get_contents($this->getUpgradeFile('6.1'));
|
||||
case '6_2':
|
||||
case '6_3':
|
||||
}
|
||||
return str_replace('zt_', $this->config->db->prefix, $confirmContent);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user