diff --git a/fonctions.php b/fonctions.php index 7f25b44..5f84fe8 100644 --- a/fonctions.php +++ b/fonctions.php @@ -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'] . '/'; }