BUGFIX Disabled mandatory override of default PHP error handler to E_ALL when in dev mode (which means you have no way of overriding error_reporting() in your _config.php, and by that no way of disabling e.g. E_NOTICE level errors)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@60636 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2008-08-13 08:24:14 +00:00
parent 8b3056fcd0
commit be2d56e7d7

View File

@ -95,10 +95,12 @@ require_once('core/control/Director.php');
require_once('filesystem/Filesystem.php'); require_once('filesystem/Filesystem.php');
require_once("core/Session.php"); require_once("core/Session.php");
/*
// If this is a dev site, enable php error reporting // If this is a dev site, enable php error reporting
if (Director::isDev()) { if (Director::isDev()) {
error_reporting(E_ALL); error_reporting(E_ALL);
} }
*/
Session::start(); Session::start();