summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGravatar Alexis Degrugillier <github@ainw.org> 2016-03-06 14:26:20 +0100
committerGravatar Alexis Degrugillier <github@ainw.org> 2016-03-06 14:26:20 +0100
commite265c943190ad490c6da414b1e243ade14797652 (patch)
tree01d8caf2dbc6e9d8da5d2a15bc673a12f0dc0c2c /lib
parent5f04462e554e4604c04c2c9ca2fe97df6f6f6376 (diff)
Fix url ending
Diffstat (limited to 'lib')
-rw-r--r--lib/Minz/Url.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Minz/Url.php b/lib/Minz/Url.php
index 4279b045b..382437e9a 100644
--- a/lib/Minz/Url.php
+++ b/lib/Minz/Url.php
@@ -27,6 +27,8 @@ class Minz_Url {
$url_string = Minz_Request::getBaseUrl(PUBLIC_TO_INDEX_PATH);
if ($url_string === PUBLIC_TO_INDEX_PATH) {
$url_string = Minz_Request::guessBaseUrl();
+ } else {
+ $url_string .= '/';
}
} else {
$url_string = $isArray ? '.' : PUBLIC_RELATIVE;