Skip to content

Commit

Permalink
removed HTTP_POST_FILES and enclosed the extract call in g_register_g…
Browse files Browse the repository at this point in the history
…lobals

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@979 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
Kenzaburo Ito committed May 19, 2002
1 parent e78e284 commit 5264859
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions core_API.php
Expand Up @@ -9,10 +9,11 @@
###########################################################################

ini_set("magic_quotes_runtime", 0);
extract( $HTTP_POST_VARS );
extract( $HTTP_GET_VARS );
extract( $HTTP_SERVER_VARS );
extract( $HTTP_POST_FILES );
if ( OFF == $g_register_globals ) {
extract( $HTTP_POST_VARS );
extract( $HTTP_GET_VARS );
extract( $HTTP_SERVER_VARS );
}
/*foreach ( $HTTP_POST_VARS as $key => $value) {
$$key = $value;
}
Expand Down

0 comments on commit 5264859

Please sign in to comment.