diff options
author | Florian Hülsmann <fh@cbix.de> | 2012-05-22 13:10:42 +0200 |
---|---|---|
committer | Florian Hülsmann <fh@cbix.de> | 2012-05-22 13:10:42 +0200 |
commit | d2e2a2b2c0a044113082440b60c50f8c3f7bdfdc (patch) | |
tree | 3f2562b22fa85790e3e216fcfe26d423b77a55da /lib/app.php | |
parent | 8cd7410447458aa0d30b20c892b812f34c4e54da (diff) | |
download | nextcloud-server-d2e2a2b2c0a044113082440b60c50f8c3f7bdfdc.tar.gz nextcloud-server-d2e2a2b2c0a044113082440b60c50f8c3f7bdfdc.zip |
prevent apps from printing output from app.php
Diffstat (limited to 'lib/app.php')
-rw-r--r-- | lib/app.php | 3 |
1 files changed, 3 insertions, 0 deletions
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; |