pushApp('nwnadmin', !defined('AUTH_HANDLER'))), 'PEAR_Error')) { if ($pushed->getCode() == 'permission_denied') { Horde::authenticationFailureRedirect(); } Horde::fatal($pushed, __FILE__, __LINE__, false); } $conf = &$GLOBALS['conf']; @define('NWNADMIN_TEMPLATES', $registry->get('templates')); // Find the base file path of NWNAdmin. @define('NWNADMIN_BASE', dirname(__FILE__) . '/..'); // Notification system. $notification = &Notification::singleton(); $notification->attach('status'); // NWNAdmin base libraries. require_once NWNADMIN_BASE . '/lib/NWNAdmin.php'; require_once NWNADMIN_BASE . '/lib/NWNDriver.php'; // Start compression. Horde::compressOutput(); // global driver $GLOBALS['nwndriver'] = &NWNDriver::singleton();