Bläddra i källkod

Update transcribe_watson.php

FusionPBX 1 år sedan
förälder
incheckning
c8d6358ec7
1 ändrade filer med 5 tillägg och 1 borttagningar
  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
 			//start output buffer
-			ob_start();
+			//ob_start();
+
+			//open standard output
 			$out = fopen('php://output', 'w');
 			$out = fopen('php://output', 'w');
 
 
 			// initialize a curl handle
 			// initialize a curl handle
@@ -203,6 +205,8 @@ if (!class_exists('transcribe_watson')) {
 
 
 			//show the debug information
 			//show the debug information
 			fclose($out);
 			fclose($out);
+
+			//save the buffer
 			//$this->debug = ob_get_clean();
 			//$this->debug = ob_get_clean();
 
 
 			// run the curl request and transcription message
 			// run the curl request and transcription message