Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
S
Silex
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
common
Silex
Commits
67891b29
Commit
67891b29
authored
Oct 31, 2013
by
Fabien Potencier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changed doc to be consistent and only use 2.3 paths for debug classes (closes #799)
parent
1cbd6af4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
doc/cookbook/error_handler.rst
doc/cookbook/error_handler.rst
+2
-2
No files found.
doc/cookbook/error_handler.rst
View file @
67891b29
...
@@ -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);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment