removed:
* an other display of the socket used; * the port used if the 'verbose' setting exists for a server
This commit is contained in:
@@ -6,6 +6,10 @@ $Id$
|
|||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
|
|
||||||
|
2001-10-28 Lo<4C>c Chapeaux <lolo@phpheaven.net>
|
||||||
|
* main.php3: removed an other display of the socket used and the port used
|
||||||
|
if the 'verbose' setting exists for a server.
|
||||||
|
|
||||||
2001-10-28 Lo<4C>c Chapeaux <lolo@phpheaven.net>
|
2001-10-28 Lo<4C>c Chapeaux <lolo@phpheaven.net>
|
||||||
* main.php3:
|
* main.php3:
|
||||||
- lines 107-111: removed the socket used from the settings displayed;
|
- lines 107-111: removed the socket used from the settings displayed;
|
||||||
|
30
main.php3
30
main.php3
@@ -50,10 +50,11 @@ if ($server > 0) {
|
|||||||
if (!empty($cfgServer['port'])) {
|
if (!empty($cfgServer['port'])) {
|
||||||
echo ':' . $cfgServer['port'];
|
echo ':' . $cfgServer['port'];
|
||||||
}
|
}
|
||||||
// loic1: connection with socket is only available since php 3.0.10
|
// loic1: skip this because it's not a so good idea to display sockets
|
||||||
if (!empty($cfgServer['socket']) && PHP_INT_VERSION >= 30010) {
|
// used to everybody
|
||||||
echo ':' . $cfgServer['socket'];
|
// if (!empty($cfgServer['socket']) && PHP_INT_VERSION >= 30010) {
|
||||||
}
|
// echo ':' . $cfgServer['socket'];
|
||||||
|
// }
|
||||||
echo ' ' . $strRunningAs . ' ' . mysql_result($res, 0, 'user') . '</b></p><br />' . "\n";
|
echo ' ' . $strRunningAs . ' ' . mysql_result($res, 0, 'user') . '</b></p><br />' . "\n";
|
||||||
} // end if
|
} // end if
|
||||||
|
|
||||||
@@ -99,16 +100,19 @@ if ($server == 0 || count($cfgServers) > 1) {
|
|||||||
echo ' selected="selected"';
|
echo ' selected="selected"';
|
||||||
}
|
}
|
||||||
echo '>';
|
echo '>';
|
||||||
echo ((!empty($val['verbose'])) ? $val['verbose'] : $val['host']);
|
if ($val['verbose'] != '') {
|
||||||
if (!empty($val['port'])) {
|
echo $val['verbose'];
|
||||||
echo ':' . $val['port'];
|
} else {
|
||||||
|
echo $val['host'];
|
||||||
|
if (!empty($val['port'])) {
|
||||||
|
echo ':' . $val['port'];
|
||||||
|
}
|
||||||
|
// 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: connection with socket is only available since php 3.0.10
|
|
||||||
// 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
|
// loic1: if 'only_db' is an array and there is more than one
|
||||||
// value, displaying such informations may not be a so good
|
// value, displaying such informations may not be a so good
|
||||||
// idea
|
// idea
|
||||||
|
Reference in New Issue
Block a user