Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaurício Meneghini Fauth <mauriciofauth@gmail.com>2017-09-13 05:12:28 +0300
committerMaurício Meneghini Fauth <mauriciofauth@gmail.com>2017-09-13 05:12:28 +0300
commit99642bf6e2c94d7f2fbe8fe3b3af933f671c9a2e (patch)
tree68000a5afcb0e357d8051520db15999ad0b4a248 /index.php
parentce49e7f60f2995ca2d5c39e1407c3d701c77e967 (diff)
Refactor select_server functions to static methods
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.php b/index.php
index 87eac0acd8..ba59c03d5e 100644
--- a/index.php
+++ b/index.php
@@ -15,6 +15,7 @@ use PhpMyAdmin\RecentFavoriteTable;
use PhpMyAdmin\Relation;
use PhpMyAdmin\Response;
use PhpMyAdmin\Sanitize;
+use PhpMyAdmin\Server\Select;
use PhpMyAdmin\ThemeManager;
use PhpMyAdmin\Url;
use PhpMyAdmin\Util;
@@ -183,9 +184,8 @@ if ($server > 0 || count($cfg['Servers']) > 1
|| ($server == 0 && count($cfg['Servers']) == 1)))
) {
echo '<li id="li_select_server" class="no_bullets" >';
- include_once 'libraries/select_server.lib.php';
echo Util::getImage('s_host.png') , " "
- , PMA_selectServer(true, true);
+ , Select::render(true, true);
echo '</li>';
}