blessing-skin-server/setup/update_scripts/update-from-2.4-to-2.4.1.php
2016-04-05 14:52:36 +08:00

16 lines
428 B
PHP

<?php
/**
* @Author: printempw
* @Date: 2016-04-04 08:47:35
* @Last Modified by: printempw
* @Last Modified time: 2016-04-05 14:32:42
*/
if (!defined('BASE_DIR')) exit('请运行 /setup/update.php 来升级');
if (Option::get('current_version') == "2.4") {
Option::set('current_version', '2.4.1');
if (Option::get('encryption') == "") Option::set('encryption', 'MD5');
echo "已成功升级至 v2.4.1";
}