diff --git a/resources/views/admin/options.tpl b/resources/views/admin/options.tpl index 04380b1c..5d4efe9a 100644 --- a/resources/views/admin/options.tpl +++ b/resources/views/admin/options.tpl @@ -39,6 +39,7 @@ $_POST['user_can_register'] = isset($_POST['user_can_register']) ? $_POST['user_can_register'] : "0"; $_POST['allow_chinese_playername'] = isset($_POST['allow_chinese_playername']) ? $_POST['allow_chinese_playername'] : "0"; $_POST['avatar_query_string'] = isset($_POST['avatar_query_string']) ? $_POST['avatar_query_string'] : "0"; + $_POST['auto_del_invalid_texture'] = isset($_POST['auto_del_invalid_texture']) ? $_POST['auto_del_invalid_texture'] : "0"; foreach ($_POST as $key => $value) { // remove slash if site_url is ended with slash @@ -119,6 +120,17 @@ + + 失效材质 + + + + + + + 评论代码 diff --git a/setup/options.php b/setup/options.php index 0b8fe546..4ed57e8a 100644 --- a/setup/options.php +++ b/setup/options.php @@ -3,7 +3,7 @@ * @Author: printempw * @Date: 2016-07-29 11:53:11 * @Last Modified by: printempw - * @Last Modified time: 2016-08-17 18:06:10 + * @Last Modified time: 2016-08-19 23:11:29 */ return [ @@ -33,5 +33,5 @@ return [ 'check_update' => '1', 'update_source' => 'github', 'copyright_text' => 'Copyright © 2016 {site_name}. All rights reserved.', - 'auto_del_invalid_texture' => '1' + 'auto_del_invalid_texture' => '0' ];