xiang 6 жил өмнө
parent
commit
1d8cda9e14
1 өөрчлөгдсөн 3 нэмэгдсэн , 3 устгасан
  1. 3 3
      public/index.php

+ 3 - 3
public/index.php

@@ -1,5 +1,6 @@
 <?php
-
+ini_set('display_errors', 1);
+error_reporting(E_ALL);
 /**
  * Laravel - A PHP Framework For Web Artisans
  *
@@ -46,8 +47,7 @@ $app = require_once __DIR__ . '/../bootstrap/app.php';
 | and wonderful application we have prepared for them.
 |
 */
-ini_set('display_errors', 1);
-error_reporting(E_ALL);
+
 $kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
 
 $response = $kernel->handle(