Skip to content

Commit

Permalink
* change for new version.
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyidong committed Jul 1, 2015
1 parent 2bd8675 commit d7d3c51
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

/* Basic settings. */
$config = new config();
$config->version = '7.2'; // The version of zentaopms. Don't change it.
$config->version = '7.2.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
Expand Down
1 change: 1 addition & 0 deletions module/upgrade/lang/en.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,4 @@
$lang->upgrade->fromVersions['6_4'] = '6.4';
$lang->upgrade->fromVersions['7_0'] = '7.0';
$lang->upgrade->fromVersions['7_1'] = '7.1';
$lang->upgrade->fromVersions['7_2'] = '7.2';
1 change: 1 addition & 0 deletions module/upgrade/lang/zh-cn.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,4 @@
$lang->upgrade->fromVersions['6_4'] = '6.4';
$lang->upgrade->fromVersions['7_0'] = '7.0';
$lang->upgrade->fromVersions['7_1'] = '7.1';
$lang->upgrade->fromVersions['7_2'] = '7.2';
1 change: 1 addition & 0 deletions module/upgrade/lang/zh-tw.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,4 @@
$lang->upgrade->fromVersions['6_4'] = '6.4';
$lang->upgrade->fromVersions['7_0'] = '7.0';
$lang->upgrade->fromVersions['7_1'] = '7.1';
$lang->upgrade->fromVersions['7_2'] = '7.2';
2 changes: 2 additions & 0 deletions module/upgrade/model.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ public function execute($fromVersion)
case '7_1':
$this->execSQL($this->getUpgradeFile('7.1'));
$this->initOrder();
case '7_2':

default: if(!$this->isError()) $this->setting->updateVersion($this->config->version);
}
Expand Down Expand Up @@ -187,6 +188,7 @@ public function getConfirm($fromVersion)
case '6_4':
case '7_0': $confirmContent .= file_get_contents($this->getUpgradeFile('7.0'));
case '7_1': $confirmContent .= file_get_contents($this->getUpgradeFile('7.1'));
case '7_2':
}
return str_replace('zt_', $this->config->db->prefix, $confirmContent);
}
Expand Down

0 comments on commit d7d3c51

Please sign in to comment.