| Current Path : /home/users/unlimited/www/facebook.codeskitter.site/xhr/ |
| Current File : /home/users/unlimited/www/facebook.codeskitter.site/xhr/delete-forum.php |
<?php
if ($f == "delete-forum" && Wo_CheckMainSession($hash_id) === true) {
$data = array(
'status' => 500
);
if (isset($_GET['id']) && is_numeric($_GET['id'])) {
if (Wo_DeleteForum(Wo_Secure($_GET['id']))) {
$data['status'] = 200;
}
}
header("Content-type: application/json");
echo json_encode($data);
exit();
}