first commit
This commit is contained in:
9
CONTENT/ROOT_URI/api/agent_Signout.php
Normal file
9
CONTENT/ROOT_URI/api/agent_Signout.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
session_unset();
|
||||
if(isset($_COOKIE['EMAIL'])){
|
||||
header_remove();
|
||||
setcookie('EMAIL', $_POST['EMAIL'], time() - (86400 * 30), "/");
|
||||
echo '<script>window.location.relode();</script>';
|
||||
}
|
||||
else echo '<script>window.location.assign("/Admin/");</script>';
|
||||
?>
|
||||
Reference in New Issue
Block a user