Initial commit: Add Docker setup, database schema, and basic PHP application structure
This commit is contained in:
14
www/card.php
Normal file
14
www/card.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
$uuid = $_GET['uuid'] ?? 'keine UUID';
|
||||
if(isset($_COOKIE['PHPSESSID'])){
|
||||
session_start();
|
||||
if($_SESSION['is_admin']??false){
|
||||
header('Location: /admin.php?uuid='. $uuid);
|
||||
exit(0);
|
||||
}
|
||||
}
|
||||
|
||||
echo "UUID: " . htmlspecialchars($uuid);
|
||||
|
||||
//TODO
|
||||
|
||||
Reference in New Issue
Block a user