diff --git a/apps/files_external/lib/irods.php b/apps/files_external/lib/irods.php
index ddce8639ff47deb1a49d05adec113ace893c1efd..a343ac5fb273129d0308d66c9a6cbe210746cd17 100644
--- a/apps/files_external/lib/irods.php
+++ b/apps/files_external/lib/irods.php
@@ -11,8 +11,10 @@ namespace OC\Files\Storage;
 set_include_path(get_include_path() . PATH_SEPARATOR .
 	\OC_App::getAppPath('files_external') . '/3rdparty/irodsphp/prods/src');
 
+ob_start();
 require_once 'ProdsConfig.inc.php';
 require_once 'ProdsStreamer.class.php';
+ob_end_clean();
 
 class iRODS extends \OC\Files\Storage\StreamWrapper{
 	private $password;