From 75057f07edfe2fd8cad316701555b7a56dc01da6 Mon Sep 17 00:00:00 2001 From: neoraider Date: Sat, 4 Mar 2006 14:41:05 +0000 Subject: Unnoetige DB-Klasse entfernt + alle Aufrufe auf AdoDB umgestellt; Unquote-Funktion hinzugefuegt --- code/util.inc.php | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'code/util.inc.php') diff --git a/code/util.inc.php b/code/util.inc.php index c2a8adf..724f8bd 100644 --- a/code/util.inc.php +++ b/code/util.inc.php @@ -12,5 +12,16 @@ return strtr($string, $tr); } + + if(get_magic_quotes_gpc()) { + function Unquote($string) { + return stripslashes($string); + } + } + else { + function Unquote($string) { + return $string; + } + } } ?> -- cgit v1.2.3