diff options
author | Robin Appelman <icewind@owncloud.com> | 2013-07-24 16:10:14 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2013-07-24 16:10:14 +0200 |
commit | 79832e9382c14d676dc1f1dc52581f98f9162252 (patch) | |
tree | f33a42ccdc56d4028a159d35cc42787c1737229a /apps/files_external | |
parent | 651479322b234eefff15031b188b353793cc7af5 (diff) | |
download | nextcloud-server-79832e9382c14d676dc1f1dc52581f98f9162252.tar.gz nextcloud-server-79832e9382c14d676dc1f1dc52581f98f9162252.zip |
use output buffering when including the irods libraries
Diffstat (limited to 'apps/files_external')
-rw-r--r-- | apps/files_external/lib/irods.php | 2 |
1 files changed, 2 insertions, 0 deletions
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; |