浏览代码

Update transcribe_watson.php

FusionPBX 1 年之前
父节点
当前提交
c8d6358ec7
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. 5 1
      resources/classes/transcribe_watson.php

+ 5 - 1
resources/classes/transcribe_watson.php

@@ -153,7 +153,9 @@ if (!class_exists('transcribe_watson')) {
 			}
 
 			//start output buffer
-			ob_start();
+			//ob_start();
+
+			//open standard output
 			$out = fopen('php://output', 'w');
 
 			// initialize a curl handle
@@ -203,6 +205,8 @@ if (!class_exists('transcribe_watson')) {
 
 			//show the debug information
 			fclose($out);
+
+			//save the buffer
 			//$this->debug = ob_get_clean();
 
 			// run the curl request and transcription message