From b491e40ef642bdf82ba66797563896eb16f31b7f Mon Sep 17 00:00:00 2001 From: Uncledaviss Date: Tue, 4 Jun 2024 14:50:41 +0200 Subject: [PATCH] update --- index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index 5bd40d0..f27d184 100644 --- a/index.php +++ b/index.php @@ -33,7 +33,7 @@ if ($_SERVER['REQUEST_METHOD'] == "POST" && isset($_POST["submit"]) && sha1($_PO $skeleton = file_get_contents('templates/skeleton.html'); - $menu_obsah = file_get_contents('templates/header1.html'); + $menu_obsah = file_get_contents('templates/header.html'); $out = str_replace('__TEMPLATE_HEADER__', $menu_obsah, $skeleton); $footer_obsah = file_get_contents('templates/footer.html'); @@ -58,7 +58,7 @@ if ($_SERVER['REQUEST_METHOD'] == "POST" && isset($_POST["submit"]) && sha1($_PO $cesta_k_stranke = "stranky/$nazov_stranky.html"; if (!file_exists($cesta_k_stranke)) { - $cesta_k_stranke = "templates/header1.html"; + $cesta_k_stranke = "templates/header.html"; } $stranka_obsah = file_get_contents($cesta_k_stranke); $out = str_replace('__TEMPLATE_STRANKA__', $stranka_obsah, $out);