We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
PACKAGE_ID
1 parent 2f44a2c commit ff6c216Copy full SHA for ff6c216
wcfsetup/install/files/lib/system/WCF.class.php
@@ -527,7 +527,7 @@ protected function defineLegacyOptions(): void
527
*/
528
protected function resolveActiveApplication(): void
529
{
530
- if (!isset($_GET['__rewrittenPath'])) {
+ if (!isset($_GET['__rewrittenPath']) || \defined('PACKAGE_ID')) {
531
if (!\defined('PACKAGE_ID')) {
532
\define('PACKAGE_ID', 1);
533
}
0 commit comments