X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=installer%2Fcheck.php;h=459305138cb84354432b885f8a95dc08cb5afc35;hb=e8a0682b96f5b7f297e58d101735ba20a0cc3a89;hp=9bdb41ba5e9ae3efb1e83bd407daecaeb518ab1e;hpb=b68022ca3782d5eb5a1a7ef6f8cf7abe1dc15bd6;p=roundcube.git diff --git a/installer/check.php b/installer/check.php index 9bdb41b..4593051 100644 --- a/installer/check.php +++ b/installer/check.php @@ -55,14 +55,17 @@ if (version_compare(PHP_VERSION, MIN_PHP_VERSION, '>=')) {
The following modules/extensions are required to run RoundCube:
$ext) { if (extension_loaded($ext)) { $RCI->pass($name); } else { - $_ext = $prefix . $ext . '.' . PHP_SHLIB_SUFFIX; - $msg = @dl($_ext) ? 'Could be loaded. Please add in php.ini' : ''; + $_ext = $ext_dir . '/' . $prefix . $ext . '.' . PHP_SHLIB_SUFFIX; + $msg = @is_readable($_ext) ? 'Could be loaded. Please add in php.ini' : ''; $RCI->fail($name, $msg, $source_urls[$name]); } echo '