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 e6a0478003
commit 464cfb04fb
1 changed files with 2 additions and 2 deletions

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";
?>
?>