From: Robin Appelman Date: Wed, 24 Jul 2013 14:10:14 +0000 (+0200) Subject: use output buffering when including the irods libraries X-Git-Tag: v6.0.0alpha2~404^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=79832e9382c14d676dc1f1dc52581f98f9162252;p=nextcloud-server.git use output buffering when including the irods libraries --- diff --git a/apps/files_external/lib/irods.php b/apps/files_external/lib/irods.php index ddce8639ff4..a343ac5fb27 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;