getArr($curr_page); $pageArr['lang'] = CURR_LANG; if (!$pageArr['CURR_PAGE']) { $pageArr['CURR_PAGE'] = $curr_page; } if ($pageArr['CURR_PAGE'] == '/home/frontier/public_html/support') { $pageArr['CURR_PAGE'] = ''; } define('CURR_PAGE', $pageArr['CURR_PAGE']); define('CURR_PAGE_FULL', $curr_page); unset($SiteMap); //vdie($_SERVER); $docHandler = $pageArr['docHandler']; //vdie($pageArr); $item = (array)$pageArr['item']; unset($pageArr['item']); $Doc = SiteMap::getObj('Doc/'.$docHandler.'.php', $pageArr); //vdie($docHandler, $Doc); $Doc->showDocItemList($item); //vdie($docHandler, $Doc); if ($pageArr['tpl']) { $Doc->setMainTpl($pageArr['tpl']); } finish_timer('Script duration'); $Doc->display(); ?>