Browse Source

Fix urls to root

ohartl 9 năm trước cách đây
mục cha
commit
7dfaa0c22e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      include/php/global.inc.php

+ 1 - 1
include/php/global.inc.php

@@ -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, '/'));
 }
 
 /**