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 2de8ccf commit 6be314dCopy full SHA for 6be314d
ObjectManager/BootstrapPool.php
@@ -35,7 +35,10 @@ public function __construct()
35
*/
36
public function get(): AppBootstrap
37
{
38
- $pathInfo = $_GET['resource'] ?? $_SERVER['REQUEST_URI'];
+ $pathInfo = $_SERVER['REQUEST_URI'];
39
+ if (str_starts_with(trim($pathInfo, '/') . '/', 'static/')) {
40
+ $pathInfo = $_GET['resource'] ?? $pathInfo;
41
+ }
42
$areaCode = $this->areaList->getCodeByFrontName(strtok(trim($pathInfo, '/'), '/'));
43
44
return $this->bootstraps[$areaCode] ??= $this->createBootstrap($areaCode);
0 commit comments