From 697cfdfa118a1083c636591f9ad1b38622ebba95 Mon Sep 17 00:00:00 2001 From: danpros Date: Tue, 30 Mar 2021 20:54:24 +0700 Subject: [PATCH] Update functions.php --- system/includes/functions.php | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/system/includes/functions.php b/system/includes/functions.php index bbf08ed..bf144f1 100644 --- a/system/includes/functions.php +++ b/system/includes/functions.php @@ -2037,9 +2037,9 @@ function parseNode($node, $child = null) { $su = parse_url(site_url()); if (empty($child)) { - if (isset($url['host']) && isset($su['host'])) { - if ($url['host'] == $su['host']) { - if (slashUrl($url['path']) == slashUrl($req)) { + if (isset($url['host']) && isset($su['host'])) { + if ($url['host'] == $su['host']) { + if (slashUrl($url['path']) == slashUrl($req)) { $li = '