Prevent unautorized warning

This commit is contained in:
TimZ99 2020-08-18 17:50:06 +02:00
parent 7745c752d1
commit 7d11f7bd1f
No known key found for this signature in database
GPG Key ID: 4D8268DC68E8339D
1 changed files with 4 additions and 0 deletions

View File

@ -33,4 +33,8 @@ namespace {
require __DIR__ . '/src/bootstrap.php'; require __DIR__ . '/src/bootstrap.php';
$router->run('server_status'); $router->run('server_status');
// By destroying the session the login will show when going to another page
session_destroy();
} }