Skip to content
Snippets Groups Projects
Commit 11dc3bb0 authored by Robin Appelman's avatar Robin Appelman
Browse files

only load apps if they exist

parent 07f2fcf7
Branches
No related tags found
No related merge requests found
......@@ -60,9 +60,11 @@ class OC_APP{
$apps = OC_APPCONFIG::getApps();
foreach( $apps as $app ){
if( self::isEnabled( $app )){
if(is_file($SERVERROOT."/apps/$app/appinfo/app.php")){
require( "apps/$app/appinfo/app.php" );
}
}
}
self::$init = true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment