|
|
@@ -46,19 +46,4 @@
|
|
|
//get the document_root parent directory
|
|
|
$document_root_parent = join(array_slice(explode("\\",realpath($_SERVER["DOCUMENT_ROOT"])),0,-1), '/');
|
|
|
|
|
|
- //if magic quotes is enabled remove the slashes
|
|
|
- if (get_magic_quotes_gpc()) {
|
|
|
- $in = array(&$_GET, &$_POST, &$_REQUEST, &$_COOKIE);
|
|
|
- while (list($k,$v) = each($in)) {
|
|
|
- foreach ($v as $key => $val) {
|
|
|
- if (!is_array($val)) {
|
|
|
- $in[$k][$key] = stripslashes($val);
|
|
|
- continue;
|
|
|
- }
|
|
|
- $in[] =& $in[$k][$key];
|
|
|
- }
|
|
|
- }
|
|
|
- unset($in);
|
|
|
- }
|
|
|
-
|
|
|
?>
|