v1.3.1 - PDF Download auch als Member
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user