prevent apps from printing output from app.php
This commit is contained in:
parent
8cd7410447
commit
d2e2a2b2c0
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue