1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-17 10:30:46 +02:00

Content: fix issue with page slug

This commit is contained in:
Awilum
2018-12-11 18:09:40 +03:00
parent 28103e4e99
commit 9a874f2b5f

View File

@@ -354,7 +354,6 @@ class Content
$url = str_replace('//', '/', $url);
$url = str_replace('http:/', 'http://', $url);
$url = str_replace('https:/', 'https://', $url);
$url = str_replace('/'.Registry::get('settings.pages.main'), '', $url);
$url = rtrim($url, '/');
$_page['url'] = $url;