mirror of
https://github.com/danpros/htmly.git
synced 2026-04-22 13:36:22 +05:30
Update functions.php
This commit is contained in:
parent
3129dbba08
commit
13d7b45ee7
1 changed files with 1 additions and 1 deletions
|
|
@ -2037,7 +2037,7 @@ function parseNode($node, $child = null) {
|
|||
$su = parse_url(site_url());
|
||||
if (empty($child)) {
|
||||
|
||||
if (isset($url['host'])) {
|
||||
if (isset($url['host']) && isset($su['host'])) {
|
||||
if ($url['host'] == $su['host']) {
|
||||
if (slashUrl($url['path']) == slashUrl($req)) {
|
||||
$li = '<li class="item nav-item active '.$node->class.'">';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue