From fc9cab6f322ac806a77680576cec8b5c426a72f0 Mon Sep 17 00:00:00 2001 From: cassiopc Date: Thu, 29 Aug 2013 14:12:10 +0200 Subject: bug to disable logins --- src/globals.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/globals.php') diff --git a/src/globals.php b/src/globals.php index 1d07ba1..b179bd5 100755 --- a/src/globals.php +++ b/src/globals.php @@ -108,6 +108,11 @@ function sanitizeText($text, $doamp=true) return $text; } +function unsanitizeText($text) { + $text = str_replace("&", "&", $text); + return $text; +} + array_walk_recursive($_FILES, 'sanitizeVariables'); array_walk_recursive($_POST, 'sanitizeVariables'); array_walk_recursive($_GET, 'sanitizeVariables'); -- cgit v1.2.3