15 lines
316 B
PHP
15 lines
316 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
require_once __DIR__ . '/session.php';
|
|
|
|
// Destroy the PHP session and clear the session cookie.
|
|
session_unset();
|
|
session_destroy();
|
|
setcookie(session_name(), '', time() - 42000, '/');
|
|
|
|
// Redirect to the public login/home page.
|
|
header('Location: https://giraud-finance.com');
|
|
exit;
|