refactor: extract templates from public/

- Created /templates for main site (header.php, footer.php)
- Created /templates/admin for admin section (head.php, footer.php)
- Removed /public/includes and /public/admin/inc
- Updated all references in code and docs
- Tests passing 

Cleaner separation: /public only contains web-accessible files (PHP entry points + assets)
This commit is contained in:
Théophile Gervreau-Mercier
2026-02-12 12:15:41 +01:00
parent 7fca85d1c1
commit 87971f9c23
15 changed files with 21 additions and 21 deletions

View File

@@ -19,7 +19,7 @@ try {
$totalPages = 0;
}
include APP_ROOT . '/public/includes/header.php';
include APP_ROOT . '/templates/header.php';
?>
<main>
@@ -54,4 +54,4 @@ include APP_ROOT . '/public/includes/header.php';
</nav>
<?php endif; ?>
<?php include APP_ROOT . '/public/includes/footer.php'; ?>
<?php include APP_ROOT . '/templates/footer.php'; ?>