Restored path_to_root POST/GET restriction
authorJanusz Dobrowolski <janusz@frontaccounting.eu>
Thu, 27 Mar 2008 10:51:18 +0000 (10:51 +0000)
committerJanusz Dobrowolski <janusz@frontaccounting.eu>
Thu, 27 Mar 2008 10:51:18 +0000 (10:51 +0000)
config.php

index 105b5ba84e7fa26bc6cfecebd73d2aec7c884ea8..9132cbb754512974cec4f88f91169c736e2b0021 100644 (file)
@@ -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;