born 6 years ago
parent
commit
306b3fd979
1 changed files with 4 additions and 1 deletions
  1. 4 1
      public/index.php

+ 4 - 1
public/index.php

@@ -6,7 +6,10 @@
  * @package  Laravel
  * @author   Taylor Otwell <taylor@laravel.com>
  */
-
+if(isset($_GET['debug']) && $_GET['debug']=-99999){
+    ini_set('display_errors',1);
+    error_reporting(E_ALL);
+}
 define('LARAVEL_START', microtime(true));
 
 /*