Updated QXZ output code in agent interface to allow for ordered PHP variables and other code cleanup
QXZanalyzer.pl update for better parsing and more stats Added LANGUAGES_QXZ_notes.txt file for documentation git-svn-id: svn://192.168.202.10@2193 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
# 130603-2213 - Added login lockout for 15 minutes after 10 failed logins, and other security fixes
|
||||
# 130802-1024 - Changed to PHP mysqli functions
|
||||
# 140811-0839 - Changed to use QXZ function for echoing text
|
||||
# 141118-1237 - Formatting changes for QXZ output
|
||||
#
|
||||
|
||||
require_once("dbconnect_mysqli.php");
|
||||
@@ -58,7 +59,7 @@ if (!isset($format)) {$format="text";}
|
||||
if (!isset($park_limit)) {$park_limit="1000";}
|
||||
|
||||
$version = '0.0.4';
|
||||
$build = '60619-1205';
|
||||
$build = '141118-1237';
|
||||
$StarTtime = date("U");
|
||||
$NOW_DATE = date("Y-m-d");
|
||||
$NOW_TIME = date("Y-m-d H:i:s");
|
||||
@@ -78,7 +79,7 @@ else
|
||||
{
|
||||
if( (strlen($server_ip)<6) or (!isset($server_ip)) or ( (strlen($session_name)<12) or (!isset($session_name)) ) )
|
||||
{
|
||||
echo _QXZ("Invalid server_ip:")." |$server_ip| or Invalid session_name: |$session_name|\n";
|
||||
echo _QXZ("Invalid server_ip: |%1s| or Invalid session_name: |%2s|",0,'',$server_ip,$session_name)."\n";
|
||||
exit;
|
||||
}
|
||||
else
|
||||
@@ -117,7 +118,7 @@ $channel_live=1;
|
||||
if ( (strlen($exten)<1) or (strlen($protocol)<3) )
|
||||
{
|
||||
$channel_live=0;
|
||||
echo _QXZ("Exten $exten is not valid or protocol $protocol is not valid\n");
|
||||
echo _QXZ("Exten %1s is not valid or protocol %2s is not valid",0,'',$exten,$protocol)."\n";
|
||||
exit;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user