18 lines
516 B
PHP
Executable File
18 lines
516 B
PHP
Executable File
<?php
|
|
include_once 'path.php';
|
|
killSizeFd(); //Killing the getSize process
|
|
|
|
//Added to remove the unwanted existing session file
|
|
$sesionId = session_id();
|
|
$session_path = session_save_path();
|
|
if(session_save_path() == '')
|
|
$session_path = sys_get_temp_dir();
|
|
session_destroy();
|
|
@unlink($session_path.'/sess_'.$sesionId); #removing session file
|
|
|
|
setcookie('restore_del', '', time() - 3600);
|
|
setcookie('trash_del', '', time() - 3600);
|
|
setcookie('trash_putback', '', time() - 3600);
|
|
header("Location:../index.php");
|
|
?>
|