mirror of
https://github.com/cytopia/devilbox.git
synced 2024-12-23 14:42:25 +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('/');
|