Skip to content

Commit

Permalink
merged branch bamarni/patch-1 (PR symfony#7005)
Browse files Browse the repository at this point in the history
This PR was merged into the master branch.

Commits
-------

ed58e36 [HttpKernel] CLI - don't always display errors

Discussion
----------

[HttpKernel] CLI - don't always display errors

I had closed symfony#6370 by mistake when cleaning up my branches.

---------------------------------------------------------------------------

by sstok at 2013-02-13T15:13:16Z

:+1:
  • Loading branch information
fabpot committed Mar 18, 2013
2 parents ea9883f + ed58e36 commit 1c0f481
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Symfony/Component/HttpKernel/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public function init()
ErrorHandler::register($this->errorReportingLevel);
if ('cli' !== php_sapi_name()) {
ExceptionHandler::register();
} else {
} elseif (!ini_get('log_errors') || ini_get('error_log')) {
ini_set('display_errors', 1);
}
}
Expand Down

0 comments on commit 1c0f481

Please sign in to comment.