From 8407cd3ea56a9c5b53c827d9de7f500686939705 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Wed, 6 Aug 2025 18:02:25 -0400 Subject: [PATCH] updated router.php to automatically determine relative path based off directory depth and use var path_prefix instead of prepend_uri var these vars are only used in header and footer php files for now --- includes/footer.php | 36 ++++++++++++++++++------------------ includes/header.php | 28 ++++++++++++++-------------- includes/router.php | 7 ++----- 3 files changed, 34 insertions(+), 37 deletions(-) diff --git a/includes/footer.php b/includes/footer.php index a769a43e..d7bc2f56 100644 --- a/includes/footer.php +++ b/includes/footer.php @@ -1,5 +1,5 @@ - + - - - - - - - - - - - - + + + + + + + + + + + + - - - - + + + + diff --git a/includes/header.php b/includes/header.php index dbc138ed..41a83014 100644 --- a/includes/header.php +++ b/includes/header.php @@ -19,27 +19,27 @@ header("X-Frame-Options: DENY"); <?= $session_company_name; ?> - - + + - + - - - - - - - - - + + + + + + + + + - - + +