Replace individual includes with include/all.php for consistent configuration and add cookie-based authentication in all.php.

This commit is contained in:
2025-09-25 14:10:01 +02:00
parent 878106f83f
commit dcfe098f35
17 changed files with 40 additions and 23 deletions

View File

@@ -26,8 +26,7 @@
</head>
<body class="bg-light text-dark">
<?php include $_SERVER['DOCUMENT_ROOT'] . "/../../include/db_connect.php"; ?> <!-- Database connexion -->
<?php //include $_SERVER['DOCUMENT_ROOT']."/include/functions.inc.php" ; ?> <!-- Functions -->
<?php include $_SERVER['DOCUMENT_ROOT'] . "/include/all.php"; ?>
<div class="container-fluid">
<div class="row flex-nowrap">
<!-- Left NAVBAR -->