Created
February 14, 2017 12:40
-
-
Save jwohlfeil/766dd8851a8096f7d8bb7abb58f2ae65 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
| // http://example.com/ | |
| echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB); | |
| // http://example.com/js/ | |
| echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_JS); | |
| // http://example.com/index.php/ | |
| echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_LINK); | |
| // http://example.com/media/ | |
| echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA); | |
| // http://example.com/skin/ | |
| echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_SKIN); | |
| ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment