From 80907220bbf1549e17d9fee76e5b344383631377 Mon Sep 17 00:00:00 2001 From: Janusz Dobrowolski Date: Thu, 27 Mar 2008 10:51:18 +0000 Subject: [PATCH] Restored path_to_root POST/GET restriction --- config.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/config.php b/config.php index 105b5ba8..9132cbb7 100644 --- a/config.php +++ b/config.php @@ -18,8 +18,7 @@ Debugging info level also determined by settings in PHP.ini if $debug=1 show debugging info, dont show if $debug=0 */ -if (!isset($path_to_root)) -//if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_to_root'])) +if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_to_root'])) die("Restricted access"); $debug = 1; -- 2.30.2