aboutsummaryrefslogtreecommitdiff
path: root/src/globals.php
diff options
context:
space:
mode:
authorcassiopc <cassiopc@gmail.com>2013-08-29 12:12:10 +0000
committercassiopc <cassiopc@gmail.com>2013-08-29 12:12:10 +0000
commitfc9cab6f322ac806a77680576cec8b5c426a72f0 (patch)
tree6451d354c20e51a667d82a0e0cf3b4efcc29b6e1 /src/globals.php
parentbe2491b093b1f0ca430bede679ecbb670041e483 (diff)
downloadboca-fc9cab6f322ac806a77680576cec8b5c426a72f0.tar.gz
boca-fc9cab6f322ac806a77680576cec8b5c426a72f0.zip
bug to disable logins
Diffstat (limited to 'src/globals.php')
-rwxr-xr-xsrc/globals.php5
1 files changed, 5 insertions, 0 deletions
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("&amp;", "&", $text);
+ return $text;
+}
+
array_walk_recursive($_FILES, 'sanitizeVariables');
array_walk_recursive($_POST, 'sanitizeVariables');
array_walk_recursive($_GET, 'sanitizeVariables');