From 18f136052f840a38e3e920520edb7914c7097b9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Chapeaux?= Date: Mon, 29 Oct 2001 20:57:46 +0000 Subject: [PATCH] socket used are no long displayed in the servers choice combo --- ChangeLog | 4 +++- main.php3 | 8 +++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 872763c1d..d245b133e 100755 --- a/ChangeLog +++ b/ChangeLog @@ -7,7 +7,9 @@ $Source$ 2001-10-28 Loïc Chapeaux - * main.php3, line 342: cosmetic change. + * main.php3: + - lines 107-111: removed the socket used from the settings displayed; + - line 342: cosmetic change. * lang/bulgarian.inc.php3, line 304: a ';' was missig at EOL. 2001-10-27 Loïc Chapeaux diff --git a/main.php3 b/main.php3 index 76d1d979d..1fb3cdf09 100755 --- a/main.php3 +++ b/main.php3 @@ -104,9 +104,11 @@ if ($server == 0 || count($cfgServers) > 1) { echo ':' . $val['port']; } // loic1: connection with socket is only available since php 3.0.10 - if (!empty($val['socket']) && PHP_INT_VERSION >= 30010) { - echo ':' . $val['socket']; - } + // loic1: skip this because it's not a so good idea to display + // sockets used to everybody + // if (!empty($val['socket']) && PHP_INT_VERSION >= 30010) { + // echo ':' . $val['socket']; + // } // loic1: if 'only_db' is an array and there is more than one // value, displaying such informations may not be a so good // idea