From 8b231200c092f03c5e99c2d02ca3902465aa9863 Mon Sep 17 00:00:00 2001 From: danpros Date: Fri, 19 Feb 2021 15:28:41 +0700 Subject: [PATCH] Update functions.php --- system/includes/functions.php | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/system/includes/functions.php b/system/includes/functions.php index 5271665..c61cf9d 100644 --- a/system/includes/functions.php +++ b/system/includes/functions.php @@ -1971,6 +1971,10 @@ EOF; } } +function slashUrl($url) { + return rtrim($url, '/') . '/'; +} + function parseNodes($nodes, $child = null, $class = null) { if (empty($child)) { $ul = '