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.
1 parent d0dc1d4 commit 6a3413eCopy full SHA for 6a3413e
ObjectManager/BootstrapPool.php
@@ -35,7 +35,8 @@ public function __construct()
35
*/
36
public function get(): AppBootstrap
37
{
38
- $areaCode = $this->areaList->getCodeByFrontName(strtok(trim($_SERVER['REQUEST_URI'], '/'), '/'));
+ $pathInfo = $_GET['resource'] ?? $_SERVER['REQUEST_URI'];
39
+ $areaCode = $this->areaList->getCodeByFrontName(strtok(trim($pathInfo, '/'), '/'));
40
41
return $this->bootstraps[$areaCode] ??= $this->createBootstrap($areaCode);
42
}
0 commit comments