echo TemplateLoader::Fetch($template)->Render($vars);
}
- /*! @brief Creates a URL via RootController::MakeURL().
+ /*! @brief Creates a URL via FrontController::MakeURL().
This requires the root controller be set in the $GLOBALS as
- hoplite\http\RootController.
+ hoplite\http\FrontController.
@param string Path.
*/
static public function MakeURL($path)
{
- echo $GLOBALS['hoplite\http\RootController']->MakeURL($path, FALSE);
+ echo $GLOBALS['hoplite\http\FrontController']->MakeURL($path, FALSE);
}
}