Merge pull request #13 from pascalchevrel/deuxpoint_manquant

":" manquant dans get_server_name
This commit is contained in:
pyg77 2013-03-05 06:20:17 -08:00
commit 9b51c0e0ba
1 changed files with 1 additions and 1 deletions

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'] . '/';
}