From d2e2a2b2c0a044113082440b60c50f8c3f7bdfdc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Florian=20H=C3=BClsmann?= Date: Tue, 22 May 2012 13:10:42 +0200 Subject: [PATCH] prevent apps from printing output from app.php --- lib/app.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/app.php b/lib/app.php index 8ec042ddd60..04fc264d11a 100644 --- a/lib/app.php +++ b/lib/app.php @@ -63,11 +63,14 @@ class OC_App{ // The rest comes here $apps = self::getEnabledApps(); + // prevent app.php from printing output + ob_start(); foreach( $apps as $app ){ if((is_null($types) or self::isType($app,$types))){ self::loadApp($app); } } + ob_end_clean(); self::$init = true; -- 2.39.5