Better test
This commit is contained in:
parent
8d8629eab9
commit
385d75f0e2
@ -211,7 +211,7 @@ if (empty($dolibarr_main_url_root))
|
|||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<?php
|
<?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>
|
<tr>
|
||||||
<td valign="top" class="label"><?php echo $langs->trans("ForceHttps"); ?></td>
|
<td valign="top" class="label"><?php echo $langs->trans("ForceHttps"); ?></td>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user