Skip to content

Commit

Permalink
Fix URL Header
Browse files Browse the repository at this point in the history
  • Loading branch information
Destructor authored Aug 27, 2024
1 parent 7fd1558 commit f042c67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/web/pages/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -208,9 +208,9 @@
<?php
if ($g_options['sitename'] && $g_options['siteurl'])
{
echo '<li><a href="http://' . preg_replace('/http:\/\//', '', $g_options['siteurl']) . '">'. $g_options['sitename'] . '</a> <span class="arrow">&raquo;</span></li>';
echo '<li><a href="' . preg_replace('/http:\/\//', '', $g_options['siteurl']) . '">'. $g_options['sitename'] . '</a> <span class="arrow">&raquo;</span></li>';
}
echo '<li><a href="http://' . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF'] . '">HLstatsX</a>';
echo '<li><a href="' . $_SERVER['PHP_SELF'] . '">HLstatsX</a>';


$i=0;
Expand Down

0 comments on commit f042c67

Please sign in to comment.