[phpMP-CVS] CVS: phpMP/includes core.php,1.52,1.53
Status: Pre-Alpha
Brought to you by:
heimidal
From: Brian R. <hei...@us...> - 2003-05-14 06:26:13
|
Update of /cvsroot/phpmp/phpMP/includes In directory sc8-pr-cvs1:/tmp/cvs-serv2474/includes Modified Files: core.php Log Message: I guess I should follow my own coding guidelines. Index: core.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/includes/core.php,v retrieving revision 1.52 retrieving revision 1.53 diff -C2 -r1.52 -r1.53 *** core.php 12 May 2003 07:06:51 -0000 1.52 --- core.php 14 May 2003 06:26:09 -0000 1.53 *************** *** 4,8 **** { ! function strip_magic_quotes($arr) { foreach ($arr as $k => $v) --- 4,8 ---- { ! function stripMagicQuotes($arr) { foreach ($arr as $k => $v) *************** *** 30,36 **** if (get_magic_quotes_gpc()) { ! if (!empty($_GET)) { $_GET = $this->strip_magic_quotes($_GET); } ! if (!empty($_POST)) { $_POST = $this->strip_magic_quotes($_POST); } ! if (!empty($_COOKIE)) { $_COOKIE = $this->strip_magic_quotes($_COOKIE); } } --- 30,36 ---- if (get_magic_quotes_gpc()) { ! if (!empty($_GET)) { $_GET = $this->stripMagicQuotes($_GET); } ! if (!empty($_POST)) { $_POST = $this->stripMagicQuotes($_POST); } ! if (!empty($_COOKIE)) { $_COOKIE = $this->stripMagicQuotes($_COOKIE); } } |