From 3ed25bd9dbd4ecbcef4ffbef6107d64af0c39966 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 22 Jan 2006 21:51:09 +0000 Subject: [PATCH] Stick the main controller in $viewsvn --- global.php | 1 + 1 file changed, 1 insertion(+) diff --git a/global.php b/global.php index c679ead..4d101b5 100644 --- a/global.php +++ b/global.php @@ -26,6 +26,7 @@ $dochooser = ((defined('PATH_OVERRIDE') AND PATH_OVERRIDE == 1) ? false : true); if ($dochooser) { $controller = new Controller(Paths::init()); + $viewsvn->maincontrol =& $controller; if (isset($viewsvn->in['rebuild']) AND $viewsvn->in['rebuild'] == 1 AND $viewsvn->get('debug') == true) { -- 2.43.5