Jelajahi Sumber

Update transcribe_watson.php

FusionPBX 1 tahun lalu
induk
melakukan
c8d6358ec7
1 mengubah file dengan 5 tambahan dan 1 penghapusan
  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