mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-08-02 11:20:52 +02:00
Site Url without trailing slashes #186
This commit is contained in:
@@ -48,7 +48,7 @@
|
|||||||
|
|
||||||
$pos = strpos($item['link'], 'http://');
|
$pos = strpos($item['link'], 'http://');
|
||||||
if ($pos === false) {
|
if ($pos === false) {
|
||||||
$link = Option::get('siteurl').$item['link'];
|
$link = Option::get('siteurl').'/'.$item['link'];
|
||||||
} else {
|
} else {
|
||||||
$link = $item['link'];
|
$link = $item['link'];
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user