Please be aware the namespaces will be registered, but loadApplication() will *not* init the application if within ACP.
Fixes #312
throw new exception\SystemException('Unable to load configuration for '.$row['package']);
}
- // start application
- new $className();
+ // start application if not within ACP
+ if (!class_exists('wcf\system\WCFACP', false)) {
+ new $className();
+ }
}
else {
unset(self::$autoloadDirectories[$abbreviation]);
$this->initBlacklist();
$this->initAuth();
$this->initCoreObjects();
+ $this->initApplications();
}
/**