* change for new version.

This commit is contained in:
wangyidong
2014-08-21 05:19:31 +00:00
parent 493ccc4915
commit e01de20bb1
16 changed files with 36 additions and 6 deletions
+3
View File
@@ -110,6 +110,8 @@ class upgradeModel extends model
case '6_0':
$this->execSQL($this->getUpgradeFile('6.0'));
$this->fixDataIndex();
case '6_1':
$this->execSQL($this->getUpgradeFile('6.1'));
default: if(!$this->isError()) $this->setting->updateVersion($this->config->version);
}
@@ -171,6 +173,7 @@ class upgradeModel extends model
case '5_3':
case '6_0_beta1': $confirmContent .= file_get_contents($this->getUpgradeFile('6.0.beta1'));
case '6_0': $confirmContent .= file_get_contents($this->getUpgradeFile('6.0'));
case '6_1': $confirmContent .= file_get_contents($this->getUpgradeFile('6.1'));
}
return str_replace('zt_', $this->config->db->prefix, $confirmContent);
}