Better test
This commit is contained in:
parent
2aa7799455
commit
4ab7e87b38
@ -211,7 +211,7 @@ if (empty($dolibarr_main_url_root))
|
||||
</tr>
|
||||
|
||||
<?php
|
||||
if (isset($_SERVER["HTTPS"])) { // Enabled if the installation process is "https://"
|
||||
if (! empty($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] == 'on') { // Enabled if the installation process is "https://"
|
||||
?>
|
||||
<tr>
|
||||
<td valign="top" class="label"><?php echo $langs->trans("ForceHttps"); ?></td>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user