Skip to content
This repository has been archived by the owner on Mar 19, 2021. It is now read-only.

Commit

Permalink
Error reporting
Browse files Browse the repository at this point in the history
If $env is set to development set error reporting in php.ini to E_ALL.
  • Loading branch information
fbergkemper committed Jul 19, 2016
1 parent 127c92e commit a0dd338
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions config/application.config.php
Expand Up @@ -5,7 +5,7 @@
* bareos-webui - Bareos Web-Frontend
*
* @link https://github.com/bareos/bareos-webui for the canonical source repository
* @copyright Copyright (c) 2013-2014 Bareos GmbH & Co. KG (http://www.bareos.org/)
* @copyright Copyright (c) 2013-2016 Bareos GmbH & Co. KG (http://www.bareos.org/)
* @license GNU Affero General Public License (http://www.gnu.org/licenses/)
*
* This program is free software: you can redistribute it and/or modify
Expand Down Expand Up @@ -44,8 +44,9 @@

if($env == 'development') {
//$modules[] = 'ZendDeveloperTools'; // you may comment only this line out if ZendDeveloperTools are not installed e.g.
error_reporting(E_ALL);
ini_set('error_reporting', E_ALL);
ini_set("display_errors", 1);
error_reporting(E_ALL);
}

return array(
Expand Down

0 comments on commit a0dd338

Please sign in to comment.