diff --git a/application/http/middleware/WebAuthenticate.php b/application/http/middleware/WebAuthenticate.php index e5a6479ef..6ab6b5a70 100644 --- a/application/http/middleware/WebAuthenticate.php +++ b/application/http/middleware/WebAuthenticate.php @@ -21,6 +21,7 @@ class WebAuthenticate 'auth/register', 'auth/forgot', 'index/api', + 'index/gallery' ]; public function handle(Request $request, \Closure $next) diff --git a/application/sql/install.sql b/application/sql/install.sql index 865814ed5..c7277dc81 100644 --- a/application/sql/install.sql +++ b/application/sql/install.sql @@ -169,6 +169,6 @@ INSERT INTO `lsky_config` (`id`, `key`, `type`, `input_type`, `name`, `title`, ` (NULL, 'audit', 'text', 'text', 'audit_key', 'Key', NULL, '', ''), (NULL, 'audit', 'select', 'text', 'audit_index', '内容评级', '1=所有人,2=少年,3=成人', '3', '{\"1\": \"所有人\", \"2\": \"少年\", \"3\": \"成人\"}'), -(NULL, '', 'text', 'text', 'system_version', '系统版本', NULL, '1.6.1', ''); +(NULL, '', 'text', 'text', 'system_version', '系统版本', NULL, '1.6.3', ''); INSERT INTO `lsky_group` (`id`, `strategy`, `name`, `default`, `update_time`, `create_time`) VALUES (NULL, 'local', '默认组', '1', '0', '0'); diff --git a/application/sql/update.sql b/application/sql/update.sql index b8e5c2043..7447df911 100644 --- a/application/sql/update.sql +++ b/application/sql/update.sql @@ -106,7 +106,7 @@ INSERT IGNORE INTO `lsky_config` (`id`, `key`, `type`, `input_type`, `name`, `ti -- v1.6.1 UPDATE `lsky_config` SET `value` = '1.6.1' WHERE `lsky_config`.`name` = 'system_version'; --- v1.6.2 -UPDATE `lsky_config` SET `value` = '1.6.2' WHERE `lsky_config`.`name` = 'system_version'; +-- v1.6.3 +UPDATE `lsky_config` SET `value` = '1.6.3' WHERE `lsky_config`.`name` = 'system_version'; INSERT IGNORE INTO `lsky_config` (`id`, `key`, `type`, `input_type`, `name`, `title`, `tip`, `value`, `extend`) VALUES (NULL, 'other', 'bool', 'checkbox', 'open_gallery', '开启画廊', '开启画廊功能,游客上传的图片将会出现在画廊中', '', ''); \ No newline at end of file diff --git a/public/static/app/font/test.ttf b/public/static/app/font/test.ttf deleted file mode 100644 index a5638aa00..000000000 Binary files a/public/static/app/font/test.ttf and /dev/null differ