Remove debug and a commented out include.

This commit is contained in:
FusionPBX 2022-04-21 13:33:00 -06:00 committed by GitHub
parent 534094de5e
commit b5c2cf5d16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -40,7 +40,6 @@
if (!defined('STDIN')) { include_once "root.php"; }
require_once "resources/require.php";
include "resources/classes/permissions.php";
// require $document_root."/app/fax_queue/resources/functions/transcribe.php"; //**************************************
//define the process id file
$pid_file = "/var/run/fusionpbx/".basename( $argv[0], ".php") .".pid";
@ -157,7 +156,7 @@
if (is_array($fax_queue) && @sizeof($fax_queue) != 0) {
foreach($fax_queue as $row) {
$command = "cd /var/www/fusionpbx && /usr/bin/php /var/www/fusionpbx/app/fax_queue/resources/job/fax_send.php ";
$command .= "'action=send&fax_queue_uuid=".$row["fax_queue_uuid"]."&hostname=".$hostname."&debug=true'";
$command .= "'action=send&fax_queue_uuid=".$row["fax_queue_uuid"]."&hostname=".$hostname."'";
if (isset($debug)) {
//run process inline to see debug info
echo $command."\n";