Skip to content

Commit b3d0b45

Browse files
authored
Configure state then OM config
1 parent 191198a commit b3d0b45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ObjectManager/BootstrapPool.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ private function createBootstrap(string $areaCode): AppBootstrap
4747
{
4848
$bootstrap = AppBootstrap::create(BP, $_SERVER, $this->factory);
4949
$globalObjectManager = $bootstrap->getObjectManager();
50-
$globalObjectManager->configure($globalObjectManager->get(ConfigLoaderInterface::class)->load($areaCode));
5150
$globalObjectManager->get(State::class)->setAreaCode($areaCode);
51+
$globalObjectManager->configure($globalObjectManager->get(ConfigLoaderInterface::class)->load($areaCode));
5252

5353
return $bootstrap;
5454
}

0 commit comments

Comments
 (0)