Add custom HTTP-500 error page

This commit is contained in:
printempw 2018-07-22 10:39:45 +08:00
parent d31e0ebc7e
commit 09acc6c7d8
3 changed files with 13 additions and 0 deletions

View File

@ -1,6 +1,7 @@
http:
msg-403: You have no permission to access this page.
msg-404: Nothing here.
msg-500: Please try again later.
msg-503: The application is now in maintenance mode.
general:

View File

@ -1,6 +1,7 @@
http:
msg-403: 你并没有权限查看此页面
msg-404: 这里啥都没有哦
msg-500: 内部服务器错误,请稍后再试
msg-503: 网站维护中
general:

View File

@ -0,0 +1,11 @@
@extends('errors.general')
@section('title', '500 Internal Server Error')
@section('content')
<h1>500 Internal Server Error
@include('setup.wizard.language')
</h1>
<p>{{ trans('errors.exception.detail', ['msg' => $exception->getMessage() ?: trans('errors.http.msg-500')]) }}</p>
@endsection