j'ai oublié un : dans get_server_name
This commit is contained in:
parent
f17412083a
commit
1e93bd44f5
@ -56,7 +56,7 @@ function connexion_base()
|
|||||||
function get_server_name()
|
function get_server_name()
|
||||||
{
|
{
|
||||||
$scheme = (isset($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] == 'on') ? 'https' : 'http';
|
$scheme = (isset($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] == 'on') ? 'https' : 'http';
|
||||||
return $scheme . '//' . $_SERVER['SERVER_NAME'] . '/';
|
return $scheme . '://' . $_SERVER['SERVER_NAME'] . '/';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user