diff --git a/install/index.php b/install/index.php
index 0d3977bb7..46638f8f0 100755
--- a/install/index.php
+++ b/install/index.php
@@ -522,8 +522,16 @@ border: 1px solid #000;
| allow_url_fopen |
Enabled |
- Enabled' : 'Disabled'; ?> |
- allow_url_fopen: You have allow_url_fopen enabled.' : 'allow_url_fopen: Your PHP configuration has allow_url_fopen disabled. ' . $status['app_name'] . ' will not work here.' ?> |
+
+ Enabled |
+ allow_url_fopen: You have allow_url_fopen enabled.
+
+ | Disabled |
+ allow_url_fopen is disabled, but curl is supported, so it should be ok. |
+
+ Disabled |
+ allow_url_fopen: Your PHP configuration has allow_url_fopen disabled.
+ will not work here. |
| gettext |
diff --git a/install/install_functions.php b/install/install_functions.php
index 4a18d7d86..a48305695 100644
--- a/install/install_functions.php
+++ b/install/install_functions.php
@@ -28,6 +28,7 @@ $gettext_ok = function_exists("gettext");
$gd_ok = extension_loaded('gd');
$pdo_drivers = pdoDrivers();
$pdo_drivers_passing = $pdo_drivers['sqlite'] || $pdo_drivers['mysql'] || $pdo_drivers['postgres'];
+$urlfetching = $curl_ok || $allow_url_fopen_ok;
@@ -46,7 +47,7 @@ $status = array('app_name' => $app_name, 'php' => $php_ok, 'pdo' => $pdo_ok,
'pdo_drivers_passing' => $pdo_drivers_passing, 'xml' => $xml_ok, 'pcre' => $pcre_ok,
'zlib' => $zlib_ok, 'mbstring' => $mbstring_ok, 'dom' => $dom_ok, 'iconv' => $iconv_ok, 'tidy' => $tidy_ok, 'curl' => $curl_ok,
'parse_ini' => $parse_ini_ok, 'parallel' => $parallel_ok, 'allow_url_fopen' => $allow_url_fopen_ok, 'filter' => $filter_ok,
- 'gettext' => $gettext_ok, 'gd' => $gd_ok);
+ 'gettext' => $gettext_ok, 'gd' => $gd_ok, 'urlfetching' => $urlfetching);
return $status;
}
@@ -56,7 +57,7 @@ function isOkay() {
function isPassing() {
$status = status();
- unset($status['curl'], $status['parallel'], $status['tidy'], $status['gd'], $status['filter']);
+ unset($status['curl'], $status['parallel'], $status['tidy'], $status['gd'], $status['filter'], $status['allow_url_fopen']);
return !in_array(false, $status);
}