Avoid open_basedir warnings on is_dir() calls when probing for CABundle
parent
40c14709f7
commit
e2056499cb
|
@ -915,7 +915,7 @@ class RemoteFilesystem
|
||||||
|
|
||||||
foreach ($caBundlePaths as $caBundle) {
|
foreach ($caBundlePaths as $caBundle) {
|
||||||
$caBundle = dirname($caBundle);
|
$caBundle = dirname($caBundle);
|
||||||
if (is_dir($caBundle) && glob($caBundle.'/*')) {
|
if (Silencer::call('is_dir', $caBundle) && glob($caBundle.'/*')) {
|
||||||
return $caPath = $caBundle;
|
return $caPath = $caBundle;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue