Fix at least loading the block.
authorJan Schneider <jan@horde.org>
Mon, 4 Jan 2010 17:33:57 +0000 (18:33 +0100)
committerJan Schneider <jan@horde.org>
Mon, 4 Jan 2010 17:33:57 +0000 (18:33 +0100)
gollem/lib/Block/tree_menu.php

index 78ee3ba..0880239 100644 (file)
@@ -20,8 +20,8 @@ class Horde_Block_gollem_tree_menu extends Horde_Block {
 
     function _buildTree(&$tree, $indent = 0, $parent = null)
     {
-        $GLOBALS['gollem_authentication'] = 'none';
-        require_once dirname(__FILE__) . '/../base.php';
+        require_once dirname(__FILE__) . '/../Application.php';
+        new Gollem_Application(array('init' => true));
 
         return;