The installation prozess has a problem with self signed certificates.
This commit is contained in:
parent
e0147a24ad
commit
abc84f96ab
1 changed files with 12 additions and 9 deletions
|
@ -466,16 +466,19 @@ function check_htaccess(&$checks) {
|
||||||
$status = true;
|
$status = true;
|
||||||
$help = "";
|
$help = "";
|
||||||
if (function_exists('curl_init')){
|
if (function_exists('curl_init')){
|
||||||
$test = fetch_url($a->get_baseurl()."/install/testrewrite");
|
$test = fetch_url($a->get_baseurl()."/install/testrewrite");
|
||||||
if ($test!="ok") {
|
|
||||||
$status = false;
|
|
||||||
$help = t('Url rewrite in .htaccess is not working. Check your server configuration.');
|
|
||||||
}
|
|
||||||
check_add($checks, t('Url rewrite is working'), $status, true, $help);
|
|
||||||
} else {
|
|
||||||
// cannot check modrewrite if libcurl is not installed
|
|
||||||
}
|
|
||||||
|
|
||||||
|
if ($test!="ok")
|
||||||
|
$test = fetch_url(normalise_link($a->get_baseurl()."/install/testrewrite"));
|
||||||
|
|
||||||
|
if ($test!="ok") {
|
||||||
|
$status = false;
|
||||||
|
$help = t('Url rewrite in .htaccess is not working. Check your server configuration.');
|
||||||
|
}
|
||||||
|
check_add($checks, t('Url rewrite is working'), $status, true, $help);
|
||||||
|
} else {
|
||||||
|
// cannot check modrewrite if libcurl is not installed
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue