refactor: Update asset paths in header and footer for consistency and improved resource loading
This commit is contained in:
@@ -52,14 +52,14 @@ function includeHeader($title = '', $description = '', $page = '', $scripts = []
|
||||
$current_page = $page;
|
||||
$additional_scripts = $scripts;
|
||||
|
||||
include 'includes/header.php';
|
||||
include __DIR__ . '/header.php';
|
||||
}
|
||||
|
||||
/**
|
||||
* Include footer
|
||||
*/
|
||||
function includeFooter() {
|
||||
include 'includes/footer.php';
|
||||
include __DIR__ . '/footer.php';
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user