lancer556
You need to update two functions from line 875 in \app\main\classes\MainController.php
//
// Helpers
//
public function url($path = null, $params = [])
{
if (windows_os())
$path = str_replace('/', '\\', $path);
if (is_null($path))
return $this->currentPageUrl($params);
if (!$url = $this->router->findByFile($path, $params))
$url = $path;
return URL::to($url);
}
public function pageUrl($path = null, $params = [])
{
$params = array_merge($this->router->getParameters(), $params);
if (!is_array($params))
$params = [];
if ($path == setting('menus_page'))
$params = $this->bindLocationRouteParameter($params);
if (windows_os())
$path = str_replace('/', '\\', $path);
return $this->url($path, $params);
}
courtesy of @TimLoes 😃