Beautified the code
This commit is contained in:
@@ -223,7 +223,8 @@ h1 {font-family: <?php echo $right_font_family; ?>; font-size: <?php echo
|
|||||||
global $cfg, $server;
|
global $cfg, $server;
|
||||||
global $PHP_AUTH_USER, $PHP_AUTH_PW;
|
global $PHP_AUTH_USER, $PHP_AUTH_PW;
|
||||||
|
|
||||||
// Ensures the valid 'only_db' setting is used
|
// Ensures valid authentication mode, 'only_db', bookmark database and
|
||||||
|
// table names and relation table name are used
|
||||||
if ($cfg['Server']['user'] != $PHP_AUTH_USER) {
|
if ($cfg['Server']['user'] != $PHP_AUTH_USER) {
|
||||||
$servers_cnt = count($cfg['Servers']);
|
$servers_cnt = count($cfg['Servers']);
|
||||||
for ($i = 1; $i <= $servers_cnt; $i++) {
|
for ($i = 1; $i <= $servers_cnt; $i++) {
|
||||||
|
Reference in New Issue
Block a user