Skip to content

Commit 40f01da

Browse files
author
Pascal Querner
committed
fix: onStore(re)init the env vars would be lost
1 parent 3dd3b13 commit 40f01da

File tree

1 file changed

+1
-0
lines changed
  • app/code/core/Mage/Core/Model

1 file changed

+1
-0
lines changed

app/code/core/Mage/Core/Model/App.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -622,6 +622,7 @@ public function reinitStores()
622622
*/
623623
protected function _initStores()
624624
{
625+
Mage::unregister('current_env_config');
625626
$this->_stores = [];
626627
$this->_groups = [];
627628
$this->_website = null;

0 commit comments

Comments
 (0)