} } else { if (strtolower($_GET['_g']) == 'plugin' && isset($_GET['name'])) { // Include plugins $GLOBALS['main']->wikiNamespace('Plugins'); foreach ($GLOBALS['hooks']->load('admin.' . strtolower($_GET['name'])) as $hook) { include $hook; } } else { if ($_GET['_g'] == '401') { $GLOBALS['gui']->setError($lang['navigation']['error_401']); } else { if (strtolower($_GET['_g']) == 'xml') { $suppress_output = true; // Process an XMLHTTPRequest $json = AJAX::load(); @ob_end_clean(); die($json); } else { // Everything else $include = $GLOBALS['main']->importNode($_GET['_g'], $node); if (file_exists($include)) { require $include; } else { trigger_error(sprintf('Unable to load content for %s:%s', $_GET['_g'], $node), E_USER_WARNING); } } } } } } else {