X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Flibs%2Fsecurity_functions.php;h=190a369e5abebcde7f3e28004fbfb23aba3a7d41;hb=33cc131a3e5017842d2038f7e16df258b6845a08;hp=73875e3bcb3d9258d69c80934a0cc5435116aac1;hpb=d0ab0382dd73638f0bc13a1a3d6f117ec11a203e;p=mailer.git diff --git a/inc/libs/security_functions.php b/inc/libs/security_functions.php index 73875e3bcb..190a369e5a 100644 --- a/inc/libs/security_functions.php +++ b/inc/libs/security_functions.php @@ -60,12 +60,6 @@ $FATAL = array(); // Runtime quoting is off now... set_magic_quotes_runtime(false); -// Unregister all global variables because of vultures and surpress failed attemps -@import_request_variables(''); - -// Error reporting level -@error_reporting(E_ALL | E_STRICT); - // Check if important arrays are found and define them if missing if (!isset($_SERVER)) { @@ -95,14 +89,14 @@ if (!isset($_COOKIE)) global $SEC_CHARS, $URL_CHARS; $SEC_CHARS = array( // The chars we are looking for... - 'from' => array("{", "}", "/", ".", "'", "$", "(", ")", "{--", "--}", "%", ";", "[", "]", ":", "--"), + 'from' => array("{", "}", "/", ".", "'", "$", "(", ")", '{--', '--}', "%", ";", "[", "]", ":", "--"), // ... and we will replace to. 'to' => array( "{OPEN_ANCHOR2}", "{CLOSE_ANCHOR2}", "{SLASH}", "{DOT}", - "{QUOT}", + '{QUOT}', "{DOLLAR}", "{OPEN_ANCHOR}", "{CLOSE_ANCHOR}",