]> source.dussan.org Git - nextcloud-server.git/commitdiff
use output buffering when including the irods libraries
authorRobin Appelman <icewind@owncloud.com>
Wed, 24 Jul 2013 14:10:14 +0000 (16:10 +0200)
committerRobin Appelman <icewind@owncloud.com>
Wed, 24 Jul 2013 14:10:14 +0000 (16:10 +0200)
apps/files_external/lib/irods.php

index ddce8639ff47deb1a49d05adec113ace893c1efd..a343ac5fb273129d0308d66c9a6cbe210746cd17 100644 (file)
@@ -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;