This commit is contained in:
Torsten Schulz
2023-06-16 11:57:49 +02:00
commit 44da93c0e9
328 changed files with 134580 additions and 0 deletions

11
include/logout.php Normal file
View File

@@ -0,0 +1,11 @@
<?php
include 'renderer.php';
class Logout extends Renderer {
public function __construct(?string $templateName = null) {
session_start();
$_SESSION['userid'] = 0;
session_write_close();
header('Location: index', true, 301);
}
}