Browse Source

Adding more documentation to core.php.

mark_story 15 years ago
parent
commit
7bfdbff377
2 changed files with 8 additions and 0 deletions
  1. 4 0
      app/config/core.php
  2. 4 0
      cake/console/templates/skel/config/core.php

+ 4 - 0
app/config/core.php

@@ -46,6 +46,8 @@
  *    including anonymous functions.
  * - `level` - int - The level of errors you are interested in capturing.
  * - `trace` - boolean - Include stack traces for errors in log files.
+ *
+ * @see ErrorHandler for more information on error handling and configuration.
  */
 	Configure::write('Error', array(
 		'handler' => 'ErrorHandler::handleError',
@@ -66,6 +68,8 @@
  * - `renderer` - string - The class responsible for rendering uncaught exceptions.  If you choose a custom class you
  *   should place the file for that class in app/libs. This class needs to implement a render method.
  * - `log` - boolean - Should Exceptions be logged?
+ *
+ * @see ErrorHandler for more information on exception handling and configuration.
  */
 	Configure::write('Exception', array(
 		'handler' => 'ErrorHandler::handleException',

+ 4 - 0
cake/console/templates/skel/config/core.php

@@ -46,6 +46,8 @@
  *    including anonymous functions.
  * - `level` - int - The level of errors you are interested in capturing.
  * - `trace` - boolean - Include stack traces for errors in log files.
+ *
+ * @see ErrorHandler for more information on error handling and configuration.
  */
 	Configure::write('Error', array(
 		'handler' => 'ErrorHandler::handleError',
@@ -66,6 +68,8 @@
  * - `renderer` - string - The class responsible for rendering uncaught exceptions.  If you choose a custom class you
  *   should place the file for that class in app/libs. This class needs to implement a render method.
  * - `log` - boolean - Should Exceptions be logged?
+ *
+ * @see ErrorHandler for more information on exception handling and configuration.
  */
 	Configure::write('Exception', array(
 		'handler' => 'ErrorHandler::handleException',