prevent apps from printing output from app.php

This commit is contained in:
Florian Hülsmann 2012-05-22 13:10:42 +02:00
parent 8cd7410447
commit d2e2a2b2c0
1 changed files with 3 additions and 0 deletions

View File

@ -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;