It will be up to Jirafeau administrator to force https at installation
If http nor https is forced in webroot, it's will be up to visitor's browser
to switch to https or http if both are available.
closes #208
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
<td class = "field"><input type = "text" name = "web_root"
id = "input_web_root" value = "<?php
echo(empty($cfg['web_root']) ?
<td class = "field"><input type = "text" name = "web_root"
id = "input_web_root" value = "<?php
echo(empty($cfg['web_root']) ?
- 'http://' . $_SERVER['HTTP_HOST'] . str_replace(basename(__FILE__),
+ $_SERVER['HTTP_HOST'] . str_replace(basename(__FILE__),
'', $_SERVER['REQUEST_URI']) : $cfg['web_root']);
?>" size = "40" /></td>
</tr> <tr> <td class = "info" colspan = "2"><?php
'', $_SERVER['REQUEST_URI']) : $cfg['web_root']);
?>" size = "40" /></td>
</tr> <tr> <td class = "info" colspan = "2"><?php