Update modal footer and header to user SERVER Document root with absolute path intead of relative

This commit is contained in:
johnnyq
2025-10-06 15:13:52 -04:00
parent 416a8d9a94
commit a4ed906dd1
3 changed files with 22 additions and 4 deletions

View File

@@ -1,8 +1,8 @@
<?php
require_once "../../../config.php";
require_once "../../../functions.php";
require_once "../../../includes/check_login.php";
require_once $_SERVER['DOCUMENT_ROOT'] . '/config.php';
require_once $_SERVER['DOCUMENT_ROOT'] . '/functions.php';
require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/check_login.php';
header('Content-Type: application/json');