-
Notifications
You must be signed in to change notification settings - Fork 1
/
logout-inform.php
35 lines (26 loc) · 1.01 KB
/
logout-inform.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?php
include_once('./vendor/autoload.php');
\Dotenv\Dotenv::createImmutable(__DIR__)->load();
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Logout?</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
</head>
<body>
<div class="container text-center">
<img src="https://i.imgflip.com/1nto1n.gif"/>
<div class="row">
<div class="col-12">
<h1></h1>
<span>The page you tried to access requires you to be logged out.<br><strong>Would you like to logout?</strong></span>
<br><br>
<button class="btn btn-primary" onclick="window.location='<?php echo $_ENV['site_home']; ?>logout.php'">Logout</button>
</div>
</div>
</div>
</body>
</html>