better validation: cadd extra check if appinfo/info.xml exists

remotes/origin/fix-10825
Georg Ehrke 12 years ago
parent 2327d41b11
commit 042ec984bd
  1. 3
      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;

Loading…
Cancel
Save