Created
November 1, 2015 13:20
-
-
Save jahvi/78ebf4ff9e6405f34a46 to your computer and use it in GitHub Desktop.
Magento store run
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
<?php | |
/* Store or website code */ | |
$mageRunCode = isset($_SERVER['MAGE_RUN_CODE']) ? $_SERVER['MAGE_RUN_CODE'] : ''; | |
/* Run store or run website */ | |
$mageRunType = isset($_SERVER['MAGE_RUN_TYPE']) ? $_SERVER['MAGE_RUN_TYPE'] : 'store'; | |
Mage::run($mageRunCode, $mageRunType); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment