bug #2042032 Cannot detect PmaAbsoluteUri correctly on Windows

This commit is contained in:
Marc Delisle
2010-03-01 18:08:29 +00:00
parent a7fe9f32fc
commit 856a63e971
2 changed files with 2 additions and 0 deletions

View File

@@ -662,6 +662,7 @@ class PMA_Config
// Backslashes returned by Windows have to be changed.
// Only replace backslashes by forward slashes if on Windows,
// as the backslash could be valid on a non-Windows system.
$this->checkWebServerOs();
if ($this->get('PMA_IS_WINDOWS') == 1) {
$path = str_replace("\\", "/", dirname($url['path'] . 'a'));
} else {