From abb8da8d2661405a78f52a75620d182eecc69e85 Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Thu, 13 Sep 2007 22:54:15 +0000 Subject: [PATCH] More vulnerable. Fix. --- config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.php b/config.php index 08aa993..9387253 100644 --- a/config.php +++ b/config.php @@ -23,7 +23,7 @@ session_save_path($session_save_path); unset($session_save_path); } - if (!isset($path_to_root)) + if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_to_root'])) exit; include_once($path_to_root . "/config_db.php"); include_once($path_to_root . "/includes/lang/language.php"); -- 2.30.2