From: Janusz Dobrowolski Date: Thu, 27 Mar 2008 10:51:18 +0000 (+0000) Subject: Restored path_to_root POST/GET restriction X-Git-Tag: v2.4.2~19^2~2136 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=80907220bbf1549e17d9fee76e5b344383631377;p=fa-stable.git Restored path_to_root POST/GET restriction --- 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;