$this->initTPL();
$this->initCronjobs();
$this->initBlacklist();
- $this->initAuth();
$this->initCoreObjects();
// prevent application loading during setup
if (PACKAGE_ID) {
$this->initApplications();
}
+
+ $this->initAuth();
}
/**
// this is a work-around since neither RequestHandler
// nor RouteHandler are populated right now
$pathInfo = (isset($_SERVER['PATH_INFO'])) ? $_SERVER['PATH_INFO'] : '';
- if (empty($pathInfo) || !preg_match('~^/(ACPCaptcha|Login)/~', $pathInfo)) {
+ if (empty($pathInfo) || !preg_match('~^/(ACPCaptcha|Login|Logout)/~', $pathInfo)) {
if (WCF::getUser()->userID == 0) {
// build redirect path
$application = ApplicationHandler::getInstance()->getActiveApplication();