mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 09:03:49 +00:00
Update exec.php
This commit is contained in:
@@ -50,11 +50,11 @@
|
||||
// }
|
||||
|
||||
//http get variables set to php variables
|
||||
if (count($_GET)>0) {
|
||||
$switch_cmd = trim(check_str($_GET["cmd"]));
|
||||
$action = trim(check_str($_GET["action"]));
|
||||
$data = trim(check_str($_GET["data"]));
|
||||
$direction = trim(check_str($_GET["direction"]));
|
||||
if (count($_GET) > 0) {
|
||||
$switch_cmd = trim($_GET["cmd"]);
|
||||
$action = trim($_GET["action"]);
|
||||
$data = trim($_GET["data"]);
|
||||
$direction = trim($_GET["direction"]);
|
||||
$username = $_SESSION['username'];
|
||||
}
|
||||
|
||||
@@ -136,7 +136,6 @@ if (count($_GET) >0) {
|
||||
echo 'access denied';
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
//set the status so they are compatible with mod_callcenter
|
||||
|
||||
Reference in New Issue
Block a user