From 089591f51f1847baef744dacff94d8f3f48b40cb Mon Sep 17 00:00:00 2001 From: Willy Date: Wed, 1 Sep 2021 17:31:18 +0200 Subject: [PATCH] Fix relative file paths --- style/main.css | 2 +- template/_header.php | 24 +++++++++++++++++------- 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/style/main.css b/style/main.css index 770ddc0..1a389ae 100644 --- a/style/main.css +++ b/style/main.css @@ -1,6 +1,6 @@ html { background-color: #fff; - background-image: url("https://willy.club/img/imagedoc-lightnoise.png"); + background-image: url("../img/imagedoc-lightnoise.png"); } body { diff --git a/template/_header.php b/template/_header.php index aefe63e..50bbefe 100644 --- a/template/_header.php +++ b/template/_header.php @@ -1,20 +1,30 @@ + 1)) { + $templateUrlPrefix = $templateUrlPrefix . DIRECTORY_SEPARATOR; +} + +?> - <?php print(htmlspecialchars($templateParameters["title"])); ?> – Stafett for livet + <?=htmlspecialchars($templateParameters["title"]);?> – Stafett for livet - - + +