From 4f1c341d17f76280dd8d2fc8813af75761ba3864 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Chapeaux?= Date: Sat, 27 Apr 2002 08:14:50 +0000 Subject: [PATCH] beautified code --- libraries/common.lib.php3 | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/libraries/common.lib.php3 b/libraries/common.lib.php3 index e7eaba5a8..3f3e9deff 100644 --- a/libraries/common.lib.php3 +++ b/libraries/common.lib.php3 @@ -376,9 +376,9 @@ if (!defined('PMA_COMMON_LIB_INCLUDED')){ // Ensures compatibility with old config files if (!isset($cfg['Server']['auth_type'])) { - $cfg['Server']['auth_type'] = (isset($cfg['Server']['adv_auth']) && $cfg['Server']['adv_auth']) - ? 'http' - : 'config'; + $cfg['Server']['auth_type'] = (isset($cfg['Server']['adv_auth']) && $cfg['Server']['adv_auth']) + ? 'http' + : 'config'; } if (isset($cfg['Server']['stduser'])) { @@ -413,11 +413,11 @@ if (!defined('PMA_COMMON_LIB_INCLUDED')){ // must be open after this one so it would be default one for all the // scripts) if ($cfg['Server']['controluser'] != '') { - $dbh = @$connect_func( - $cfg['Server']['host'] . $server_port . $server_socket, - $cfg['Server']['controluser'], - $cfg['Server']['controlpass'] - ); + $dbh = @$connect_func( + $cfg['Server']['host'] . $server_port . $server_socket, + $cfg['Server']['controluser'], + $cfg['Server']['controlpass'] + ); if ($dbh == FALSE) { if (mysql_error()) { $conn_error = mysql_error(); @@ -435,11 +435,11 @@ if (!defined('PMA_COMMON_LIB_INCLUDED')){ } // end if // Connects to the server (validates user's login) - $userlink = @$connect_func( - $cfg['Server']['host'] . $server_port . $server_socket, - $cfg['Server']['user'], - $cfg['Server']['password'] - ); + $userlink = @$connect_func( + $cfg['Server']['host'] . $server_port . $server_socket, + $cfg['Server']['user'], + $cfg['Server']['password'] + ); if ($userlink == FALSE) { PMA_auth_fails(); } // end if