Browse Source

Avoid open_basedir warnings on is_dir() calls when probing for CABundle

Jordi Boggiano 9 years ago
parent
commit
e2056499cb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Composer/Util/RemoteFilesystem.php

+ 1 - 1
src/Composer/Util/RemoteFilesystem.php

@@ -915,7 +915,7 @@ class RemoteFilesystem
 
         foreach ($caBundlePaths as $caBundle) {
             $caBundle = dirname($caBundle);
-            if (is_dir($caBundle) && glob($caBundle.'/*')) {
+            if (Silencer::call('is_dir', $caBundle) && glob($caBundle.'/*')) {
                 return $caPath = $caBundle;
             }
         }