/** * @see Page::show() */ public function show() { $wcfPackageID = WCFACP::getWcfPackageID(); // check package installation queue if ($wcfPackageID == 0) { PackageInstallationQueue::checkPackageInstallationQueue(); } if (WCFACP::getWcfPackageID() == PACKAGE_ID) { $packages = WCF::getCache()->get('packages'); foreach ($packages as $packageID => $package) { break; } if (isset($packageID) && $packageID != PACKAGE_ID) { HeaderUtil::redirect('../' . $packages[$packageID]['packageDir'] . 'acp/index.php' . SID_ARG_1ST, false); exit; } } // show page parent::show(); }