From 84ac8fc316f18f73f5cba12a7642d9d4c8386da1 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 11 Apr 2015 09:52:28 -0400 Subject: [PATCH] Forget to rename a function --- lib/helpers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/helpers.php b/lib/helpers.php index c0adc20..f483fcb 100644 --- a/lib/helpers.php +++ b/lib/helpers.php @@ -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']).'/' : '/';