projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd1a21a
)
Restored path_to_root POST/GET restriction
author
Janusz Dobrowolski
<janusz@frontaccounting.eu>
Thu, 27 Mar 2008 10:51:18 +0000
(10:51 +0000)
committer
Janusz Dobrowolski
<janusz@frontaccounting.eu>
Thu, 27 Mar 2008 10:51:18 +0000
(10:51 +0000)
config.php
patch
|
blob
|
history
diff --git
a/config.php
b/config.php
index 105b5ba84e7fa26bc6cfecebd73d2aec7c884ea8..9132cbb754512974cec4f88f91169c736e2b0021 100644
(file)
--- 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;