Enable debug mode via APP_DEBUG env var. Closes #433

This commit is contained in:
James Brooks
2015-01-27 17:35:03 +00:00
parent edd9b0ae8a
commit 8d4f3b6c16
5 changed files with 3 additions and 19 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ return [
|
*/
'debug' => false,
'debug' => getenv('APP_DEBUG') ?: false,
/*
|--------------------------------------------------------------------------
View File
-18
View File
@@ -1,18 +0,0 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Debug Mode
|--------------------------------------------------------------------------
|
| When your application is in debug mode, detailed error messages with
| stack traces will be shown on every error that occurs within your
| application. If disabled, a simple generic error page is shown.
|
*/
'debug' => true,
];