$files, "filesSizesSeen" => $filesSizesSeen, "maxLines" => $maxLines, "bugReportPath" => "|" . $dataLoc . "|data|bug-report.log", "result" => $result ); // Include our process once our bug checking work is done include "../processes/on-bug-check.php"; // Finally, display our status in JSON format as the XHR response text echo json_encode($status);