Skip to content

A free, self-hostable news aggregator…

Fix url ending

Alexis Degrugilliere265c943190a
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;