Major Fix, added new logic for pages, added redirect for env-error.php and db-error.php

This commit is contained in:
2026-04-30 02:03:51 +01:00
parent f32dff9b85
commit 3c9837bcb1
10 changed files with 67 additions and 117 deletions

View File

@@ -1,7 +1,7 @@
<?php
include("./config/init.php");
php_pages("error");
include(ROOT_DIR . "/templates/header.php");
include("./pages/home.php");
include("./templates/footer.php");
include(TEMPLATES_FOLD . "header.php");
include(resolve_page());
include(TEMPLATES_FOLD . "footer.php");
?>