Created
March 12, 2013 18:22
-
-
Save drobinson/5145482 to your computer and use it in GitHub Desktop.
Get path to a module component, good for getting the path to a controller when rewriting
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
Mage::getModuleDir(‘controllers’, ‘Packagename_Modulename’); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment