Wrong directory name (#1822)

it was looking for call_center, instead call_centerS
This commit is contained in:
Luis Daniel Lucio Quiroz
2016-08-17 14:37:05 -04:00
committed by FusionPBX
parent a052465b0d
commit 964a7b53c6

View File

@@ -53,7 +53,7 @@ else {
}
//if call center app is installed then update the user_status
if (is_dir($_SERVER["DOCUMENT_ROOT"].PROJECT_PATH.'/app/call_center')) {
if (is_dir($_SERVER["DOCUMENT_ROOT"].PROJECT_PATH.'/app/call_centers')) {
//update the user_status
$fp = event_socket_create($_SESSION['event_socket_ip_address'], $_SESSION['event_socket_port'], $_SESSION['event_socket_password']);
$switch_cmd .= "callcenter_config agent set status ".$_SESSION['user']['username']."@".$_SESSION['domain_name']." '".$user_status."'";
@@ -440,4 +440,4 @@ foreach ($_SESSION['user']['extension'] as $assigned_extensions) {
<?php
require_once "resources/footer.php";
?>
?>