$cfg['Server']['AllowDeny']['order'] might be undefined

This commit is contained in:
Michal Čihař
2003-05-10 16:27:56 +00:00
parent 95a4750719
commit 51cbb260d1
2 changed files with 3 additions and 1 deletions

View File

@@ -20,6 +20,8 @@ $Source$
count - fixes #735441.
* libraries/display_tbl.lib.php3: Fix not displaying content of TEXT
fields (was treated like BLOB).
* libraries/common.lib.php3: $cfg['Server']['AllowDeny']['order'] might
be undefined.
2003-05-09 Marc Delisle <lem9@users.sourceforge.net>
* libraries/display_tbl.lib.php3: bug 731367: hexifying all

View File

@@ -751,7 +751,7 @@ h1 {font-family: sans-serif; font-size: large; font-weight: bold}
// http://cvs.apache.org/viewcvs.cgi/httpd-2.0/modules/aaa/mod_access.c?rev=1.37&content-type=text/vnd.viewcvs-markup
// Look at: "static int check_dir_access(request_rec *r)"
// Robbat2 - May 10, 2002
if (isset($cfg['Server']['AllowDeny']) && $cfg['Server']['AllowDeny']['order']) {
if (isset($cfg['Server']['AllowDeny']) && isset($cfg['Server']['AllowDeny']['order'])) {
include('./libraries/ip_allow_deny.lib.php3');
$allowDeny_forbidden = FALSE; // default