This commit is contained in:
PBBFA23CKL committed 2025-06-16 13:50:20 +02:00
commit f27d92c544
3 files changed
+37 -26

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@
}
function isAdmin() {
return isLoggedIn() && isset($_SESSION['role']) && $_SESSION['role'] === 'admin';
return false;// isLoggedIn() && isset($_SESSION['role']) && $_SESSION['role'] === 'admin';
}
function sanitize($data, $flags = ENT_QUOTES, $encoding = 'UTF-8') {
return htmlspecialchars((string)$data, $flags, $encoding);