Skip to content

Commit

Permalink
initialize the error params global
Browse files Browse the repository at this point in the history
git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1482 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
Julian Fitzell committed Sep 16, 2002
1 parent 273acbd commit 5893d8d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion core/error_api.php
Expand Up @@ -6,7 +6,7 @@
# See the files README and LICENSE for details

# --------------------------------------------------------
# $Id: error_api.php,v 1.7 2002-09-03 01:01:23 prescience Exp $
# $Id: error_api.php,v 1.8 2002-09-16 00:57:48 jfitzell Exp $
# --------------------------------------------------------

###########################################################################
Expand All @@ -16,6 +16,12 @@
# set up error_handler() as the new default error handling function
set_error_handler( 'error_handler' );

#########################################
# SECURITY NOTE: this global is initialized here to prevent it
# being spoofed if register_globals is turned on
#
$g_error_parameters = array();

# ---------------
# Default error handler
#
Expand Down

0 comments on commit 5893d8d

Please sign in to comment.