diff --git a/app/Services/Http.php b/app/Services/Http.php index 5b11ad9a..937e4946 100644 --- a/app/Services/Http.php +++ b/app/Services/Http.php @@ -83,7 +83,7 @@ class Http if (file_exists($config['view_path']."/errors/".$code.".tpl")) { echo View::make('errors.'.$code)->with('code', $code)->with('message', $msg); } else { - echo View::make('errors.exception')->with('code', $code)->with('message', $msg); + echo View::make('errors.e')->with('code', $code)->with('message', $msg); } exit; } diff --git a/resources/views/errors/403.tpl b/resources/views/errors/403.tpl new file mode 100644 index 00000000..0bd8fba8 --- /dev/null +++ b/resources/views/errors/403.tpl @@ -0,0 +1,9 @@ +@extends('errors.general') + +@section('title', '403 Forbidden') + +@section('content') +
详细信息:{{ $message }}
+@endsection