Fix urls to root
This commit is contained in:
parent
70b6463501
commit
7dfaa0c22e
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ function writeLog($text)
|
|||
*/
|
||||
function url($url)
|
||||
{
|
||||
return sprintf('%s/%s', rtrim(FRONTEND_BASE_PATH, '/'), trim($url));
|
||||
return sprintf('%s/%s', rtrim(FRONTEND_BASE_PATH, '/'), trim($url, '/'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue