Commit 67891b29 authored by Fabien Potencier's avatar Fabien Potencier

changed doc to be consistent and only use 2.3 paths for debug classes (closes #799)

parent 1cbd6af4
...@@ -35,13 +35,13 @@ Handling fatal errors ...@@ -35,13 +35,13 @@ Handling fatal errors
To handle fatal errors, you can additionally register a global To handle fatal errors, you can additionally register a global
``ExceptionHandler``:: ``ExceptionHandler``::
use Symfony\Component\HttpKernel\Debug\ExceptionHandler; use Symfony\Component\Debug\ExceptionHandler;
ExceptionHandler::register(); ExceptionHandler::register();
In production you may want to disable the debug output by passing ``false`` as In production you may want to disable the debug output by passing ``false`` as
the ``$debug`` argument:: the ``$debug`` argument::
use Symfony\Component\HttpKernel\Debug\ExceptionHandler; use Symfony\Component\Debug\ExceptionHandler;
ExceptionHandler::register(false); ExceptionHandler::register(false);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment