Update cmd.php
This commit is contained in:
@@ -40,7 +40,6 @@
|
|||||||
|
|
||||||
//set the variables
|
//set the variables
|
||||||
$cmd = check_str($_GET['cmd']);
|
$cmd = check_str($_GET['cmd']);
|
||||||
$rdr = check_str($_GET['rdr']);
|
|
||||||
|
|
||||||
//create the event socket connection
|
//create the event socket connection
|
||||||
$fp = event_socket_create($_SESSION['event_socket_ip_address'], $_SESSION['event_socket_port'], $_SESSION['event_socket_password']);
|
$fp = event_socket_create($_SESSION['event_socket_ip_address'], $_SESSION['event_socket_port'], $_SESSION['event_socket_password']);
|
||||||
@@ -84,12 +83,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
//redirect the user
|
//redirect the user
|
||||||
if ($rdr == "false") {
|
header("Location: sip_status.php");
|
||||||
//redirect false
|
|
||||||
echo $response;
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
header("Location: sip_status.php");
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|||||||
Reference in New Issue
Block a user