* upgrade to 1.0rc2.
This commit is contained in:
@@ -48,3 +48,4 @@ $lang->upgrade->fromVersions['0_4beta'] = '0.4 BETA';
|
||||
$lang->upgrade->fromVersions['0_5beta'] = '0.5 BETA';
|
||||
$lang->upgrade->fromVersions['0_6beta'] = '0.6 BETA';
|
||||
$lang->upgrade->fromVersions['1_0beta'] = '1.0 BETA';
|
||||
$lang->upgrade->fromVersions['1_0rc1'] = '1.0 RC1';
|
||||
|
||||
@@ -82,6 +82,7 @@ class upgradeModel extends model
|
||||
$confirmContent .= file_get_contents($this->getUpgradeFile('0.5'));
|
||||
$confirmContent .= file_get_contents($this->getUpgradeFile('0.6'));
|
||||
$confirmContent .= file_get_contents($this->getUpgradeFile('1.0.beta'));
|
||||
$confirmContent .= file_get_contents($this->getUpgradeFile('1.0.rc1'));
|
||||
}
|
||||
elseif($fromVersion == '0_4beta')
|
||||
{
|
||||
@@ -89,21 +90,25 @@ class upgradeModel extends model
|
||||
$confirmContent .= file_get_contents($this->getUpgradeFile('0.5'));
|
||||
$confirmContent .= file_get_contents($this->getUpgradeFile('0.6'));
|
||||
$confirmContent .= file_get_contents($this->getUpgradeFile('1.0.beta'));
|
||||
$confirmContent .= file_get_contents($this->getUpgradeFile('1.0.rc1'));
|
||||
}
|
||||
elseif($fromVersion == '0_5beta')
|
||||
{
|
||||
$confirmContent .= file_get_contents($this->getUpgradeFile('0.5'));
|
||||
$confirmContent .= file_get_contents($this->getUpgradeFile('0.6'));
|
||||
$confirmContent .= file_get_contents($this->getUpgradeFile('1.0.beta'));
|
||||
$confirmContent .= file_get_contents($this->getUpgradeFile('1.0.rc1'));
|
||||
}
|
||||
elseif($fromVersion == '0_6beta')
|
||||
{
|
||||
$confirmContent .= file_get_contents($this->getUpgradeFile('0.6'));
|
||||
$confirmContent .= file_get_contents($this->getUpgradeFile('1.0.beta'));
|
||||
$confirmContent .= file_get_contents($this->getUpgradeFile('1.0.rc1'));
|
||||
}
|
||||
elseif($fromVersion == '1_0beta')
|
||||
{
|
||||
$confirmContent .= file_get_contents($this->getUpgradeFile('1.0.beta'));
|
||||
$confirmContent .= file_get_contents($this->getUpgradeFile('1.0.rc1'));
|
||||
}
|
||||
elseif($fromVersion == '1_0rc1')
|
||||
{
|
||||
@@ -151,7 +156,7 @@ class upgradeModel extends model
|
||||
}
|
||||
|
||||
/* 从1.0rc1版本升级到1.0rc2版本。*/
|
||||
private function upgradeFrom1_0betaTo1_0rc2()
|
||||
private function upgradeFrom1_0rc1To1_0rc2()
|
||||
{
|
||||
$this->execSQL($this->getUpgradeFile('1.0.rc1'));
|
||||
if(!$this->isError()) $this->updateVersion('1.0rc2');
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
*/
|
||||
?>
|
||||
<?php include '../../common/view/header.lite.html.php';?>
|
||||
<style>body{background:white}</style>
|
||||
<div class='yui-d0' style='margin-top:50px'>
|
||||
<form method='post' action='<?php echo inlink('execute');?>'>
|
||||
<table align='center' class='table-6 f-14px'>
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
*/
|
||||
?>
|
||||
<?php include '../../common/view/header.lite.html.php';?>
|
||||
<style>body{background:white}</style>
|
||||
<div class='yui-d0' style='margin-top:50px'>
|
||||
<table align='center' class='table-5 f-14px'>
|
||||
<caption><?php echo $lang->upgrade->$result;?></caption>
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
*/
|
||||
?>
|
||||
<?php include '../../common/view/header.lite.html.php';?>
|
||||
<style>body{background:white}</style>
|
||||
<div class='yui-d0' style='margin-top:50px'>
|
||||
<table align='center' class='table-5 f-14px'>
|
||||
<caption><?php echo $lang->upgrade->warnning;?></caption>
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
*/
|
||||
?>
|
||||
<?php include '../../common/view/header.lite.html.php';?>
|
||||
<style>body{background:white}</style>
|
||||
<div class='yui-d0' style='margin-top:50px'>
|
||||
<form method='post' action='<?php echo inlink('confirm');?>'>
|
||||
<table align='center' class='table-5 f-14px'>
|
||||
|
||||
Reference in New Issue
Block a user