1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-07-31 18:30:20 +02:00

Site Url without trailing slashes #186

This commit is contained in:
Awilum
2014-01-06 19:35:20 +02:00
parent 51e2cd0a45
commit 543b8ae883

View File

@@ -48,7 +48,7 @@
$pos = strpos($item['link'], 'http://');
if ($pos === false) {
$link = Option::get('siteurl').$item['link'];
$link = Option::get('siteurl').'/'.$item['link'];
} else {
$link = $item['link'];
}