-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathlogout.php
31 lines (26 loc) · 817 Bytes
/
logout.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
<?php
/**
* ========== About ==========
* Author : Afid Arifin
* Name : INTBYTE File Sharing (IFS)
* Version : v1.0
* Created On : 09 October 2019
*/
/**
* ========== WARNING BEFORE USING ==========
* About : see /documents/about.txt
* Contact : see /documents/contact.txt
* Disclaimer : see /documents/disclaimer.txt
* Privacy Policy : see/documents/privacy-policy.txt
* License Software : see /documents/license.txt
*/
// To Debugging, You can change the number zero to number one to display the message
ini_set('display_errors', 0);
// Helpers
require_once 'incfiles/connect.php';
require_once 'helpers/session.class.php';
require_once 'helpers/coreFunc.class.php';
// The session logout is destroyed
session_destroy();
$core->redirect(base_url().'/');
?>