$v) { if (is_array($v)) { $arr[$k] = strip_magic_quotes($v); } else { $arr[$k] = stripslashes($v); } } return $arr; } if (get_magic_quotes_gpc()) { if (!empty($_GET)) { $_GET = strip_magic_quotes($_GET); } if (!empty($_POST)) { $_POST = strip_magic_quotes($_POST); } } /* If global is off convert everything to globals */ include($lm_absolute_path.'includes/antihack.php'); include("config.php"); //to allow quotes $lm_title=dbdecode($lm_title); $lm_offline_msg=dbdecode($lm_offline_msg); $includes_dir=$lm_absolute_path."includes/"; $components_dir=$lm_absolute_path."components/"; $modules_dir=$lm_absolute_path."modules/"; $classes_dir=$lm_absolute_path."classes/"; $images_dir=$lm_absolute_path."images/"; ?>