This commit is contained in:
2022-03-31 10:22:11 +02:00
parent e66bc829cd
commit d3a2b33dc8
4 changed files with 0 additions and 724 deletions

View File

@@ -463,17 +463,4 @@ function localize($domain) {
$nation = array('fr_FR' => gettext('French'), 'en_US' => gettext('English') , 'de_DE' => gettext('German'), 'es_ES' => gettext('Spanish') );
}
function _host() {
if (isset($_SERVER['HTTPS'])) {
if ($_SERVER['HTTPS'] == 'on') $secure = 1;
else $secure = 0;
}
else $secure = 0;
$host = (($secure == 1) ? 'https' : "http") . '://' . $_SERVER['HTTP_HOST'];
return $host;
}
?>