agent screen related fixes for PHP7
git-svn-id: svn://192.168.202.10@3141 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
# live_exten_check.php version 2.14
|
||||
#
|
||||
# Copyright (C) 2017 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
|
||||
# Copyright (C) 2019 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
|
||||
#
|
||||
# This script is designed purely to send whether the client channel is live and to what channel it is connected
|
||||
# This script depends on the server_ip being sent and also needs to have a valid user/pass from the vicidial_users table
|
||||
@@ -40,10 +40,11 @@
|
||||
# 141216-2109 - Added language settings lookups and user/pass variable standardization
|
||||
# 150723-1713 - Added ajax logging
|
||||
# 170526-2234 - Added additional variable filtering
|
||||
# 190111-0906 - Fix for PHP7
|
||||
#
|
||||
|
||||
$version = '2.14-17';
|
||||
$build = '170526-2234';
|
||||
$version = '2.14-18';
|
||||
$build = '190111-0906';
|
||||
$php_script = 'live_exten_check.php';
|
||||
$SSagent_debug_logging=0;
|
||||
$startMS = microtime();
|
||||
@@ -132,7 +133,7 @@ if (strlen($SSagent_debug_logging) > 1)
|
||||
}
|
||||
|
||||
$auth=0;
|
||||
$auth_message = user_authorization($user,$pass,'',0,1,0,0);
|
||||
$auth_message = user_authorization($user,$pass,'',0,1,0,0,'live_exten_check');
|
||||
if ($auth_message == 'GOOD')
|
||||
{$auth=1;}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user