diff -r 0e400f946644 -r 6b25c6bfd246 includes/functions.php --- a/includes/functions.php Mon Nov 24 11:40:24 2014 -0500 +++ b/includes/functions.php Mon Nov 24 14:57:33 2014 -0500 @@ -229,7 +229,7 @@ else $server_name = 'localhost'; - return 'http' . ( $GLOBALS['is_https'] ) . '://' . $server_name; + return 'http' . ( $GLOBALS['is_https'] ? 's' : '' ) . '://' . $server_name; } /**