[e-ark-cvs] e-ark/src error_inc.php,1.4,1.5
Brought to you by:
vboctor
|
From: Victor B. <vb...@us...> - 2008-08-01 01:15:16
|
Update of /cvsroot/e-ark/e-ark/src In directory sc8-pr-cvs17.sourceforge.net:/tmp/cvs-serv31983 Modified Files: error_inc.php Log Message: Changed the error handling to "halt" for all types of errors. This is to force the display of the stack trace on errors. Index: error_inc.php =================================================================== RCS file: /cvsroot/e-ark/e-ark/src/error_inc.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** error_inc.php 14 May 2006 12:43:40 -0000 1.4 --- error_inc.php 1 Aug 2008 01:15:12 -0000 1.5 *************** *** 37,46 **** $t_error_type = 'SYSTEM WARNING'; $t_error_description = $p_error; ! $t_method = 'inline'; break; case E_NOTICE: $t_error_type = 'SYSTEM NOTICE'; $t_error_description = $p_error; ! $t_method = 'inline'; break; case E_USER_ERROR: --- 37,46 ---- $t_error_type = 'SYSTEM WARNING'; $t_error_description = $p_error; ! $t_method = 'halt'; break; case E_NOTICE: $t_error_type = 'SYSTEM NOTICE'; $t_error_description = $p_error; ! $t_method = 'halt'; break; case E_USER_ERROR: *************** *** 52,56 **** $t_error_type = "APPLICATION WARNING"; $t_error_description = $p_error; ! $t_method = 'inline'; break; case E_USER_NOTICE: --- 52,56 ---- $t_error_type = "APPLICATION WARNING"; $t_error_description = $p_error; ! $t_method = 'halt'; break; case E_USER_NOTICE: *************** *** 58,62 **** $t_error_type = 'DEBUG'; $t_error_description = $p_error; ! $t_method = 'inline'; break; default: --- 58,62 ---- $t_error_type = 'DEBUG'; $t_error_description = $p_error; ! $t_method = 'halt'; break; default: |