mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2024-12-21 06:19:38 +08:00
Add custom HTTP-500 error page
This commit is contained in:
parent
e2703aad84
commit
d16483bacb
@ -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:
|
||||
|
@ -1,6 +1,7 @@
|
||||
http:
|
||||
msg-403: 你并没有权限查看此页面
|
||||
msg-404: 这里啥都没有哦
|
||||
msg-500: 服务器内部错误,请稍后再试
|
||||
msg-503: 网站维护中
|
||||
|
||||
general:
|
||||
|
11
resources/views/errors/500.tpl
Normal file
11
resources/views/errors/500.tpl
Normal 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
|
Loading…
Reference in New Issue
Block a user