From ba8a84f9e7b94fe006209a901293d900851ca6a9 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 31 May 2015 17:20:28 -0400 Subject: [PATCH] Fix views\Template accessing RootController rather than FrontController. --- views/template.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/views/template.php b/views/template.php index da6857d..3b4b9c9 100644 --- a/views/template.php +++ b/views/template.php @@ -328,14 +328,14 @@ class TemplateBuiltins 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); } } -- 2.43.5