Update HTTPHelper.php
We want getStationUrl to return a slash at the end, so we add it if missing
This commit is contained in:
parent
90e91b1a55
commit
418e46c5d8
|
@ -37,6 +37,9 @@ class Application_Common_HTTPHelper
|
|||
if ($baseDir[0] != "/") {
|
||||
$baseDir = "/" . $baseDir;
|
||||
}
|
||||
if ($baseDir[strlen($baseDir)-1] != "/") {
|
||||
$baseDir = $baseDir . "/";
|
||||
}
|
||||
|
||||
$scheme = "http";
|
||||
if ($secured && !empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off') {
|
||||
|
@ -102,4 +105,4 @@ class ZendActionHttpException extends Exception {
|
|||
parent::__construct($message, $code, $previous);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue