add update script for v2.4.5
This commit is contained in:
parent
a95ce92bd5
commit
b32d11e4ce
14
setup/update_scripts/update-from-2.4.3-to-2.4.4.php
Normal file
14
setup/update_scripts/update-from-2.4.3-to-2.4.4.php
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
/**
|
||||
* @Author: printempw
|
||||
* @Date: 2016-06-12 11:14:51
|
||||
* @Last Modified by: printempw
|
||||
* @Last Modified time: 2016-06-12 11:15:10
|
||||
*/
|
||||
|
||||
if (!defined('BASE_DIR')) exit('请运行 /setup/update.php 来升级');
|
||||
|
||||
if (Option::get('current_version') == "2.4.3") {
|
||||
Option::set('current_version', '2.4.4');
|
||||
echo "已成功升级至 v2.4.4";
|
||||
}
|
||||
14
setup/update_scripts/update-from-2.4.4-to-2.4.5.php
Normal file
14
setup/update_scripts/update-from-2.4.4-to-2.4.5.php
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
/**
|
||||
* @Author: printempw
|
||||
* @Date: 2016-06-12 11:14:19
|
||||
* @Last Modified by: printempw
|
||||
* @Last Modified time: 2016-06-12 11:15:00
|
||||
*/
|
||||
|
||||
if (!defined('BASE_DIR')) exit('请运行 /setup/update.php 来升级');
|
||||
|
||||
if (Option::get('current_version') == "2.4.4") {
|
||||
Option::set('current_version', '2.4.5');
|
||||
echo "已成功升级至 v2.4.5";
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user