diff --git a/ChangeLog b/ChangeLog index 2157b1662..c02b34550 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,9 @@ phpMyAdmin - Changelog $Id$ $Source$ +2004-08-25 Michal Čihař + * main.php: Don't show port after verbose name (bug #1013401). + 2004-08-23 Michal Čihař * scripts/create-release.sh: Support for snapshots outside sourceforge. * libraries/export/sql.php: Fix exporting of TIMESTAMP (bug #1013730). diff --git a/main.php b/main.php index 8b642998f..96c489cf7 100644 --- a/main.php +++ b/main.php @@ -95,8 +95,8 @@ if ($server > 0) { $server_info = $cfg['Server']['verbose']; } else { $server_info = $cfg['Server']['host']; + $server_info .= (empty($cfg['Server']['port']) ? '' : ':' . $cfg['Server']['port']); } - $server_info .= (empty($cfg['Server']['port']) ? '' : ':' . $cfg['Server']['port']); // loic1: skip this because it's not a so good idea to display sockets // used to everybody // if (!empty($cfg['Server']['socket']) && PMA_PHP_INT_VERSION >= 30010) {