Merge pull request #13 from pascalchevrel/deuxpoint_manquant
":" manquant dans get_server_name
This commit is contained in:
commit
9b51c0e0ba
@ -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