From e6bcf0e12f0d07fedfba6f6c1573bd59dbf7756d Mon Sep 17 00:00:00 2001 From: johnnyq Date: Wed, 24 Sep 2025 12:56:01 -0400 Subject: [PATCH] Started updating href paths to absolute paths instead of relative paths as itflow should be installed in document root anyway and not a sub-directory --- admin/includes/inc_all_admin.php | 1 - agent/custom/includes/custom_side_nav.php | 45 ++++++++++++++++++++ agent/custom/includes/inc_all_custom.php | 13 ++++++ agent/custom/index.php | 4 +- agent/custom/post.php | 46 +++++++++++++++++++++ agent/custom/readme.php | 9 ---- agent/includes/inc_all.php | 1 - agent/includes/inc_all_client.php | 1 - agent/reports/includes/inc_all_reports.php | 1 - agent/reports/includes/reports_side_nav.php | 2 +- agent/user/includes/inc_all_user.php | 1 - includes/auth_check.php | 4 +- includes/footer.php | 34 +++++++-------- includes/header.php | 28 ++++++------- includes/inc_debug.php | 5 --- includes/load_user_session.php | 3 +- includes/modal_footer.php | 4 +- includes/page_title.php | 13 +----- includes/redirect_if_setup_enabled.php | 3 +- includes/router.php | 8 ---- includes/top_nav.php | 14 +++---- login.php | 2 +- modals/notifications.php | 6 +-- 23 files changed, 156 insertions(+), 92 deletions(-) create mode 100644 agent/custom/includes/custom_side_nav.php create mode 100644 agent/custom/includes/inc_all_custom.php create mode 100644 agent/custom/post.php delete mode 100644 agent/custom/readme.php delete mode 100644 includes/inc_debug.php delete mode 100644 includes/router.php diff --git a/admin/includes/inc_all_admin.php b/admin/includes/inc_all_admin.php index ceeec4e2..fb600215 100644 --- a/admin/includes/inc_all_admin.php +++ b/admin/includes/inc_all_admin.php @@ -2,7 +2,6 @@ require_once "../config.php"; require_once "../functions.php"; -require_once "../includes/router.php"; require_once "../includes/check_login.php"; require_once "../includes/page_title.php"; if (!isset($session_is_admin) || !$session_is_admin) { diff --git a/agent/custom/includes/custom_side_nav.php b/agent/custom/includes/custom_side_nav.php new file mode 100644 index 00000000..534b8dfc --- /dev/null +++ b/agent/custom/includes/custom_side_nav.php @@ -0,0 +1,45 @@ + + + + + + + + + diff --git a/agent/custom/includes/inc_all_custom.php b/agent/custom/includes/inc_all_custom.php new file mode 100644 index 00000000..a66fcce4 --- /dev/null +++ b/agent/custom/includes/inc_all_custom.php @@ -0,0 +1,13 @@ + +