j'ai oublié un : dans get_server_name

This commit is contained in:
pascalc 2013-03-05 14:50:59 +01:00
parent f17412083a
commit 1e93bd44f5

View File

@ -56,7 +56,7 @@ function connexion_base()
function get_server_name()
{
$scheme = (isset($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] == 'on') ? 'https' : 'http';
return $scheme . '//' . $_SERVER['SERVER_NAME'] . '/';
return $scheme . '://' . $_SERVER['SERVER_NAME'] . '/';
}