Merge branch 'master' of https://github.com/flashwave/sakura
This commit is contained in:
commit
612d579069
4 changed files with 11 additions and 9 deletions
|
@ -38,13 +38,13 @@ class ExceptionHandler
|
|||
*/
|
||||
public static function exception(Throwable $ex)
|
||||
{
|
||||
$report = config('dev.report_host');
|
||||
$report = strlen(config('dev.report_host')) > 0;
|
||||
|
||||
if ($report !== null) {
|
||||
if ($report) {
|
||||
self::report($ex, $report);
|
||||
}
|
||||
|
||||
self::view($ex, $report !== null);
|
||||
self::view($ex, $report);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
; ; sqlite
|
||||
; driver = sqlite
|
||||
; database = sakura.sq3
|
||||
; database = sakura.db3
|
||||
; ; Although the option exists, setting a table prefix for sqlite breaks some migration related things.
|
||||
; prefix =
|
||||
|
||||
|
|
|
@ -14,13 +14,13 @@
|
|||
<p>
|
||||
The page you are looking for experienced a severe explosion.
|
||||
</p>
|
||||
{% if reported %}
|
||||
{% if reported is defined and reported %}
|
||||
<p>
|
||||
The developers have been notified of this issue, sorry for the inconvenience!
|
||||
</p>
|
||||
{% endif %}
|
||||
<hr>
|
||||
{% if message %}
|
||||
{% if message is defined %}
|
||||
<h2>
|
||||
{{ message }}
|
||||
</h2>
|
||||
|
|
|
@ -15,9 +15,11 @@
|
|||
The page you are looking for is temporarily unavailable.
|
||||
</p>
|
||||
<hr>
|
||||
{% if message is defined %}
|
||||
<h2>
|
||||
{{ message }}
|
||||
</h2>
|
||||
{% endif %}
|
||||
<h3>
|
||||
HTTP 503 - Service unavailable
|
||||
<br>
|
||||
|
|
Reference in a new issue