bug #1398931, incorrect detection of PmaAbsoluteUri in vhost situations
This commit is contained in:
@@ -12,6 +12,8 @@ $Source$
|
|||||||
PMA_linkOrButton link is part of the link, thanks to Ryan Schmidt
|
PMA_linkOrButton link is part of the link, thanks to Ryan Schmidt
|
||||||
* server_privileges.php: bug #1398018, Safari fieldset float issue in
|
* server_privileges.php: bug #1398018, Safari fieldset float issue in
|
||||||
privileges screens, thanks to Ryan Schmidt
|
privileges screens, thanks to Ryan Schmidt
|
||||||
|
* libraries/Config.class.php: bug #1398931, incorrect detection of
|
||||||
|
PmaAbsoluteUri in vhost situations, thanks to Ryan Schmidt
|
||||||
|
|
||||||
2006-01-06 Marc Delisle <lem9@users.sourceforge.net>
|
2006-01-06 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* db_datadict.php, pdf_schema.php: bug #1389165, data dict shows all
|
* db_datadict.php, pdf_schema.php: bug #1389165, data dict shows all
|
||||||
|
@@ -570,7 +570,11 @@ class PMA_Config
|
|||||||
if (defined('PMA_PATH_TO_BASEDIR') && PMA_PATH_TO_BASEDIR == '../../') {
|
if (defined('PMA_PATH_TO_BASEDIR') && PMA_PATH_TO_BASEDIR == '../../') {
|
||||||
$path = dirname(dirname($path));
|
$path = dirname(dirname($path));
|
||||||
}
|
}
|
||||||
$pma_absolute_uri .= $path . '/';
|
// in vhost situations, there could be already an ending slash
|
||||||
|
if (substr($path, -1) != '/') {
|
||||||
|
$path .= '/';
|
||||||
|
}
|
||||||
|
$pma_absolute_uri .= $path;
|
||||||
|
|
||||||
// We used to display a warning if PmaAbsoluteUri wasn't set, but now
|
// We used to display a warning if PmaAbsoluteUri wasn't set, but now
|
||||||
// the autodetect code works well enough that we don't display the
|
// the autodetect code works well enough that we don't display the
|
||||||
|
Reference in New Issue
Block a user