# HG changeset patch # User Dan Fuhry # Date 1416859053 18000 # Node ID 6b25c6bfd24617426272141d8f60298696d80a40 # Parent 0e400f94664468517cbae27b6cf294e19f070489 Fix https url generation 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; } /**