Stick the main controller in $viewsvn
authorRobert Sesek <rsesek@bluestatic.org>
Sun, 22 Jan 2006 21:51:09 +0000 (21:51 +0000)
committerRobert Sesek <rsesek@bluestatic.org>
Sun, 22 Jan 2006 21:51:09 +0000 (21:51 +0000)
global.php

index c679ead7a99ff1cc95039426ca335e9687adce66..4d101b58e8e86e141d50f8776849345cded1f76a 100644 (file)
@@ -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)
        {