/** * Returns the root URL of framework installation directory. * * @param bool $absolute Flag requiring to return the absolute URL instead of the relative one (default value). * @param bool $script Flag requiring to return a URL containing index.php/ when module mod_rewrite (or * similar mechanism) for generating human-readable URLs is not installed * @return string */ public function getRootUrl($absolute = false, $script = false) { return $this->config->getRootUrl($absolute, $script); }