From 0249aad0a3e43d28cc1b99a4ffe8558cf4aa18c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Sat, 3 Feb 2024 16:46:09 +0100 Subject: [PATCH] error handling --- index.php | 63 +++++++++++++++++----------------------------- lib/main.php | 37 +++++++++++++++++++++++++++ lib/navigation.php | 16 ++++++++---- lib/page.php | 3 +++ templates/500.html | 1 + 5 files changed, 75 insertions(+), 45 deletions(-) create mode 100644 lib/main.php diff --git a/index.php b/index.php index 8789e0a..23d583a 100644 --- a/index.php +++ b/index.php @@ -1,41 +1,24 @@ -Niekto to pobabral

500

Nejaký neschopný vývojár nevedel robiť túto stránku.

+

__TEMPLATE_ERROR__

SPÄŤ DOMOV \ No newline at end of file