]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/security_functions.php
Cache init fixed
[mailer.git] / inc / libs / security_functions.php
index 73875e3bcb3d9258d69c80934a0cc5435116aac1..190a369e5abebcde7f3e28004fbfb23aba3a7d41 100644 (file)
@@ -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}",