Silence error for missing appinfo info file

This commit is contained in:
Bart Visscher 2012-03-31 00:03:21 +02:00
parent 07719045db
commit 17af1ba893
1 changed files with 1 additions and 1 deletions

View File

@ -319,7 +319,7 @@ class OC_App{
$file=OC::$APPSROOT.'/apps/'.$appid.'/appinfo/info.xml';
}
$data=array();
$content=file_get_contents($file);
$content=@file_get_contents($file);
if(!$content){
return;
}