Ever since WoltLab Suite Core got its own frontend the PACKAGE_ID constant
should be defined at all times, making this method obsolete.
// start initialization
$this->initDB();
$this->loadOptions();
- $this->initPackage();
$this->initSession();
$this->initLanguage();
$this->initTPL();
]);
}
- /**
- * Initializes the active package.
- */
- protected function initPackage()
- {
- // define active package id
- if (!\defined('PACKAGE_ID')) {
- \define('PACKAGE_ID', 1);
- }
- }
-
/**
* @deprecated 5.4 The master password is deprecated in favor of proper MFA (https://github.com/WoltLab/WCF/issues/3698).
*/