ilib.inc.php3: don't add a "/" to $cfgPmaAbsoluteUri if it's empty!
This commit is contained in:
@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
|
2001-08-23 Olivier M<>ller <om@omnis.ch>
|
||||||
|
* lib.inc.php3: don't add a "/" to $cfgPmaAbsoluteUri if it's empty!
|
||||||
|
|
||||||
2001-08-22 Robin Johnson <robbat2@orbis-terrarum.net>
|
2001-08-22 Robin Johnson <robbat2@orbis-terrarum.net>
|
||||||
* config.inc.php3: $cfgServers[1]['connect_type'] preferred connection type
|
* config.inc.php3: $cfgServers[1]['connect_type'] preferred connection type
|
||||||
* lib.inc.php3 - line 285: $cfgServer['connect_type'] implemented
|
* lib.inc.php3 - line 285: $cfgServer['connect_type'] implemented
|
||||||
|
@@ -95,7 +95,7 @@ if (!defined('__LIB_INC__')){
|
|||||||
}
|
}
|
||||||
// Adds a trailing slash et the end of the phpMyAdmin uri if it does not
|
// Adds a trailing slash et the end of the phpMyAdmin uri if it does not
|
||||||
// exist
|
// exist
|
||||||
if (substr($cfgPmaAbsoluteUri, -1) != '/') {
|
if ($cfgPmaAbsoluteUri != '' && substr($cfgPmaAbsoluteUri, -1) != '/') {
|
||||||
$cfgPmaAbsoluteUri .= '/';
|
$cfgPmaAbsoluteUri .= '/';
|
||||||
}
|
}
|
||||||
include('./defines.inc.php3');
|
include('./defines.inc.php3');
|
||||||
|
Reference in New Issue
Block a user