cleaning
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user