includes/functions.php
changeset 1381 6b25c6bfd246
parent 1379 5cbd678df965
--- 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;
 }
 
 /**