Fix full url on http protocol
[gitphp.git] / include / Util.class.php
blob:a/include/Util.class.php -> blob:b/include/Util.class.php
--- 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