Skip to content
This repository
Browse code

PHP 5.3 error reporting

  • Loading branch information...
commit e8f730c736c4a637b9bec6314554d69b9b052386 1 parent ac709bc
Robert Starsi authored August 01, 2009
1  app/webroot/index.php
@@ -24,6 +24,7 @@
24 24
  * @lastmodified  $Date: 2008-12-18 20:16:01 -0600 (Thu, 18 Dec 2008) $
25 25
  * @license       http://www.opensource.org/licenses/mit-license.php The MIT License
26 26
  */
  27
+ error_reporting(E_ALL ^ E_DEPRECATED);
27 28
 /**
28 29
  * Use the DS to separate the directories in other defines
29 30
  */
2  cake/libs/configure.php
@@ -292,7 +292,7 @@ function write($config, $value = null) {
292 292
 
293 293
 		if (isset($config['debug'])) {
294 294
 			if ($_this->debug) {
295  
-				error_reporting(E_ALL);
  295
+				error_reporting(E_ALL ^ E_DEPRECATED);
296 296
 
297 297
 				if (function_exists('ini_set')) {
298 298
 					ini_set('display_errors', 1);
BIN  docs/photoshop/01_wf.klevo.sk
Binary file not shown

0 notes on commit e8f730c

Please sign in to comment.
Something went wrong with that request. Please try again.