summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rwxr-xr-xlib/app.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/app.php b/lib/app.php
index 38ba4bcdc88..8c3016d7800 100755
--- a/lib/app.php
+++ b/lib/app.php
@@ -532,7 +532,10 @@ class OC_App{
$apps=array();
foreach ( OC::$APPSROOTS as $apps_dir ) {
-
+ if(! is_readable($apps_dir['path'])) {
+ OC_Log::write('core', 'unable to read app folder : ' .$apps_dir['path'] , OC_Log::WARN);
+ continue;
+ }
$dh = opendir( $apps_dir['path'] );
while( $file = readdir( $dh ) ) {