Last active
May 21, 2019 19:10
-
-
Save rafaelstz/57d6f34be55a0c53290a34e0313936ee to your computer and use it in GitHub Desktop.
Magento 2 Multistore to test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$params = $_SERVER; | |
$params[\Magento\Store\Model\StoreManager::PARAM_RUN_CODE] = 'website_code'; | |
$params[\Magento\Store\Model\StoreManager::PARAM_RUN_TYPE] = 'website'; | |
$bootstrap = \Magento\Framework\App\Bootstrap::create(BP, $params); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment