Browse Source
Fix small logic mistake in getBaseUrl().
The empty string was never possible there ;).
pull/649/head
Dominik George
8 years ago
No known key found for this signature in database
GPG Key ID: B79A3C16A0C4F296
1 changed files with
1 additions and
1 deletions
-
src/Movim/Bootstrap.php
|
|
|
@ -177,7 +177,7 @@ class Bootstrap |
|
|
|
$uri = 'https://'; |
|
|
|
} |
|
|
|
|
|
|
|
if ($path == "") { |
|
|
|
if ($path == "/") { |
|
|
|
$uri .= $_SERVER['HTTP_HOST'] ; |
|
|
|
} elseif (isset($_SERVER['HTTP_HOST'])) { |
|
|
|
$uri .= str_replace('//', '/', $_SERVER['HTTP_HOST'] . $path); |
|
|
|
|