author | Dan Fuhry <dan@enanocms.org> |
Mon, 24 Nov 2014 14:57:33 -0500 | |
changeset 1381 | 6b25c6bfd246 |
parent 1380 | 0e400f946644 |
child 1382 | 78fbedb876f3 |
--- 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; } /**