diff --git a/backup.php b/backup.php index 7e3e517..7ba0a17 100755 --- a/backup.php +++ b/backup.php @@ -2,13 +2,6 @@ include('inc/check_login.php'); include('inc/db.php'); -// 🔒 Nur Admins dürfen diese Seite sehen -if ($_SESSION['role'] !== 'admin') { - $_SESSION['error_message'] = "Zugriff verweigert."; - header("Location: index.php"); - exit; -} - // 🔹 Pfad zum Backup-Ordner (relativ zum Projekt) $backup_dir = __DIR__ . '/backups/'; $backup_url = 'backups/'; // öffentliche URL