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:
Diffstat (limited to 'libraries/common.inc.php')
-rw-r--r--libraries/common.inc.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/libraries/common.inc.php b/libraries/common.inc.php
index 5e0976827d..f5da4572ec 100644
--- a/libraries/common.inc.php
+++ b/libraries/common.inc.php
@@ -651,7 +651,7 @@ if (! isset($cfg['Servers']) || count($cfg['Servers']) == 0) {
&& empty($each_server['host'])
&& empty($each_server['verbose'])
) {
- $each_server['verbose'] = __('Server') . $server_index;
+ $each_server['verbose'] = sprintf(__('Server %d'), $server_index);
}
$new_servers[$server_index] = $each_server;
@@ -907,14 +907,14 @@ if (! defined('PMA_MINIMUM_COMMON')) {
} // end if
// is root allowed?
- if (!$cfg['Server']['AllowRoot'] && $cfg['Server']['user'] == 'root') {
+ if (! $cfg['Server']['AllowRoot'] && $cfg['Server']['user'] == 'root') {
$allowDeny_forbidden = true;
PMA_log_user($cfg['Server']['user'], 'root-denied');
$auth_plugin->authFails();
}
// is a login without password allowed?
- if (!$cfg['Server']['AllowNoPassword'] && $cfg['Server']['password'] == '') {
+ if (! $cfg['Server']['AllowNoPassword'] && $cfg['Server']['password'] == '') {
$login_without_password_is_forbidden = true;
PMA_log_user($cfg['Server']['user'], 'empty-denied');
$auth_plugin->authFails();