Insert leading slash into basedir for station URL
This commit is contained in:
parent
1ad024ca8d
commit
5acad059de
2 changed files with 4 additions and 1 deletions
|
@ -31,6 +31,9 @@ class Application_Common_HTTPHelper
|
|||
if (empty($baseDir)) {
|
||||
$baseDir = "/";
|
||||
}
|
||||
if ($baseDir[0] != "") {
|
||||
$baseDir = "/" . $baseDir;
|
||||
}
|
||||
$stationUrl = "$scheme://${baseUrl}:${basePort}${baseDir}";
|
||||
|
||||
return $stationUrl;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue