Update Page.php

This commit is contained in:
Anton Romanov 2014-09-11 12:45:37 +08:00
parent 7ded6e5fed
commit 8ee57eee76
1 changed files with 2 additions and 2 deletions

View File

@ -92,9 +92,9 @@ class Page extends CmsCompoundObject
* Helper that makes a URL for a page in the active theme.
* @return string
*/
public static function url($page, $params = [])
public static function url($page, $params = [], $absolute = true)
{
$controller = new Controller;
return $controller->pageUrl($page, $params);
return $controller->pageUrl($page, $params, true, $absolute);
}
}