Forget to rename a function

This commit is contained in:
Frederic Guillot 2015-04-11 09:52:28 -04:00
parent b1ded7ff7c
commit 84ac8fc316

View File

@ -61,7 +61,7 @@ function css()
function get_current_base_url()
{
$url = isSecureConnection() ? 'https://' : 'http://';
$url = is_secure_connection() ? 'https://' : 'http://';
$url .= $_SERVER['SERVER_NAME'];
$url .= $_SERVER['SERVER_PORT'] == 80 || $_SERVER['SERVER_PORT'] == 443 ? '' : ':'.$_SERVER['SERVER_PORT'];
$url .= dirname($_SERVER['PHP_SELF']) !== '/' ? dirname($_SERVER['PHP_SELF']).'/' : '/';