Fix full url on http protocol
Fix full url on http protocol

--- a/include/Util.class.php
+++ b/include/Util.class.php
@@ -160,7 +160,7 @@
 			if (isset($_SERVER['HTTPS']) && ($_SERVER['HTTPS'] == 'on'))
 				$baseurl = 'https://' . $baseurl;
 			else
-				$baserul = 'http://' . $baseurl;
+				$baseurl = 'http://' . $baseurl;
 		}
 		return rtrim($baseurl, "/");
 	}

comments