Return to Snippet

Revision: 1213
at September 26, 2006 06:07 by gdonald


Updated Code
if( $GLOBALS[ 'SITE_DEBUG' ] )
{
  error_reporting( E_ALL );
  ini_set( 'display_errors', 1 );
  ini_set( 'log_errors', 1 );
}
else
{
  error_reporting( E_ERROR | E_WARNING | E_PARSE );
  ini_set( 'display_errors', 0 );
}

Revision: 1212
at September 26, 2006 06:05 by gdonald


Initial Code
if( $GLOBALS[ 'SITE_DEBUG' ] )
{
	error_reporting( E_ALL );

	ini_set( 'display_errors', 1 );

	ini_set( 'log_errors', 1 );
}
else
{
	error_reporting( E_ERROR | E_WARNING | E_PARSE );

	ini_set( 'display_errors', 0 );
}

Initial URL

                                

Initial Description

                                

Initial Title
php error reporting

Initial Tags
error

Initial Language
PHP