feat: blocage si licence invalide/désactivée depuis Vision, cache 30min

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Jules
2026-05-06 00:40:36 +02:00
parent a0695e019d
commit 29da0a8380
3 changed files with 70 additions and 10 deletions

View File

@@ -13,6 +13,7 @@ function auth_check(): void {
header('Location: /login.php');
exit;
}
if (function_exists('vision_enforce')) vision_enforce();
}
function admin_check(): void {