diff options
| author | cassiopc <cassiopc@gmail.com> | 2013-08-29 12:12:10 +0000 |
|---|---|---|
| committer | cassiopc <cassiopc@gmail.com> | 2013-08-29 12:12:10 +0000 |
| commit | fc9cab6f322ac806a77680576cec8b5c426a72f0 (patch) | |
| tree | 6451d354c20e51a667d82a0e0cf3b4efcc29b6e1 /src/globals.php | |
| parent | be2491b093b1f0ca430bede679ecbb670041e483 (diff) | |
| download | boca-fc9cab6f322ac806a77680576cec8b5c426a72f0.tar.gz boca-fc9cab6f322ac806a77680576cec8b5c426a72f0.zip | |
bug to disable logins
Diffstat (limited to 'src/globals.php')
| -rwxr-xr-x | src/globals.php | 5 |
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("&", "&", $text); + return $text; +} + array_walk_recursive($_FILES, 'sanitizeVariables'); array_walk_recursive($_POST, 'sanitizeVariables'); array_walk_recursive($_GET, 'sanitizeVariables'); |