mirror of
https://github.com/cytopia/devilbox.git
synced 2024-12-29 09:08:51 +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('/');
|