mirror of
https://github.com/cytopia/devilbox.git
synced 2024-12-27 08:12:28 +00:00
12 lines
225 B
PHP
12 lines
225 B
PHP
<?php require '../config.php'; ?>
|
|
<?php
|
|
|
|
if (isset($_GET['id'])) {
|
|
if ($_GET['id'] == session_id()) {
|
|
loadClass('Helper')->logout();
|
|
loadClass('Helper')->redirect('/login.php');
|
|
}
|
|
}
|
|
|
|
loadClass('Helper')->redirect('/');
|