diff --git a/.env.example b/.env.example index e486220..e6bbb76 100644 --- a/.env.example +++ b/.env.example @@ -30,4 +30,7 @@ MAIL_PASSWORD=null MAIL_ENCRYPTION=null ALLOW_REG=false -FRESH_YEAR=16 \ No newline at end of file +# 大一同学的入学年份(两位),用来判断用户是否过期 +FRESH_YEAR=16 +# 在底部显示版本信息 +SHOW_VER=true diff --git a/resources/views/good/goodList.blade.php b/resources/views/good/goodList.blade.php index 312f782..76ce66d 100644 --- a/resources/views/good/goodList.blade.php +++ b/resources/views/good/goodList.blade.php @@ -30,7 +30,7 @@
-@if( env('APP_DEBUG') ) +@if( env('SHOW_VER') || env('APP_DEBUG') ) diff --git a/resources/views/layout/header.blade.php b/resources/views/layout/header.blade.php index 06e9050..01192ab 100644 --- a/resources/views/layout/header.blade.php +++ b/resources/views/layout/header.blade.php @@ -75,7 +75,7 @@
- +
@@ -88,7 +88,7 @@
- +