Skip to content

Commit ff6c216

Browse files
committed
Ignore the path parameter if a PACKAGE_ID is already set
1 parent 2f44a2c commit ff6c216

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wcfsetup/install/files/lib/system/WCF.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ protected function defineLegacyOptions(): void
527527
*/
528528
protected function resolveActiveApplication(): void
529529
{
530-
if (!isset($_GET['__rewrittenPath'])) {
530+
if (!isset($_GET['__rewrittenPath']) || \defined('PACKAGE_ID')) {
531531
if (!\defined('PACKAGE_ID')) {
532532
\define('PACKAGE_ID', 1);
533533
}

0 commit comments

Comments
 (0)