Use $contentDir instead of $_SERVER for logo path
This commit is contained in:
parent
968a78f549
commit
fa08ef2289
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ function getActiveClass($href) { return rtrim(parse_url($_SERVER['REQUEST_URI'],
|
|||
<header class="contain">
|
||||
<div>
|
||||
<div class="logo">
|
||||
<a href="/"><?php include $_SERVER['DOCUMENT_ROOT'] . '/content/logo.svg'; ?></a>
|
||||
<a href="/"><?php include $contentDir . '/logo.svg'; ?></a>
|
||||
</div>
|
||||
<nav>
|
||||
<ul>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue