diff options
Diffstat (limited to 'lib/private/app.php')
-rw-r--r-- | lib/private/app.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/private/app.php b/lib/private/app.php index 0ca2ca36bd2..be75f96eeee 100644 --- a/lib/private/app.php +++ b/lib/private/app.php @@ -587,6 +587,9 @@ class OC_App { $file = self::getAppPath($appid) . '/appinfo/info.xml'; } $data = array(); + if (!file_exists($file)) { + return null; + } $content = @file_get_contents($file); if (!$content) { return null; |