Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
1af3fcfd96
@ -284,8 +284,12 @@ function PMA_allowDeny($type)
|
||||
$username = $cfg['Server']['user'];
|
||||
|
||||
// copy rule database
|
||||
$rules = $cfg['Server']['AllowDeny']['rules'];
|
||||
if (! is_array($rules)) {
|
||||
if (isset($cfg['Server']['AllowDeny']['rules'])) {
|
||||
$rules = $cfg['Server']['AllowDeny']['rules'];
|
||||
if (! is_array($rules)) {
|
||||
$rules = array();
|
||||
}
|
||||
} else {
|
||||
$rules = array();
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user