Skip to content

Commit 885eb78

Browse files
committed
Set $i to last used server in configuration
This makes it easier to adjust it in config.user.inc.php. Fixes #142 Signed-off-by: Michal Čihař <michal@cihar.com>
1 parent 686bf94 commit 885eb78

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

etc/phpmyadmin/config.inc.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,11 @@
6868
$cfg['Servers'][$i]['compress'] = false;
6969
$cfg['Servers'][$i]['AllowNoPassword'] = true;
7070
}
71+
/*
72+
* Revert back to last configured server to make
73+
* it easier in config.user.inc.php
74+
*/
75+
$i--;
7176

7277
/* Uploads setup */
7378
$cfg['UploadDir'] = '';

0 commit comments

Comments
 (0)