<? // Set Intialize Informations define('APP_BASE', dirname(__FILE__)); include_once FRAMEWORK_BASE . '/lib/basic.php'; include_once FRAMEWORK_BASE . '/lib/session.php'; include_once FRAMEWORK_BASE . '/lib/auth.php'; include_once FRAMEWORK_BASE . '/lib/dnsmgr.php'; include_once FRAMEWORK_BASE . '/config/mainconfig.php'; //Session::initSession(); if (Auth::checkAuth()) { Session::refreshSession(); } if ( $conf['debug'] == 1 ) { print "UserID:".$_SESSION['__auth']['userID']."<BR>"; print "APP_BASE: ".APP_BASE."<BR>"; print "FRAMEWORK_BASE: ".FRAMEWORK_BASE."<BR>"; } global $conf; global $applications; // use TreeMenu require_once(FRAMEWORK_BASE.'/lib/TreeMenu.php'); $icon = 'stock_open16.gif'; $level_count = 0; $menu = new HTML_TreeMenu(); $root = new HTML_TreeNode(array('text' => "dnsZone-Manager", 'icon' => $icon));