Fix baseurl on root installs
Fix baseurl on root installs

--- a/include/controller/ControllerBase.class.php
+++ b/include/controller/ControllerBase.class.php
@@ -535,7 +535,7 @@
 		if (substr_compare($baseurl, '.php', -4) === 0) {
 			$baseurl = dirname($baseurl);
 		}
-		$baseurl = rtrim($baseurl, "\\");
+		$baseurl = rtrim($baseurl, "/");
 		$this->tpl->assign('baseurl', $baseurl);
 
 		$requesturl = $_SERVER['REQUEST_URI'];

comments