Created
January 24, 2016 23:56
-
-
Save amikitevich/4859ec06ee482a3ffe21 to your computer and use it in GitHub Desktop.
Magento – How to Check if a Module is Installed and is Active
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
| /* Returns boolean true or false */ | |
| Mage::getConfig()->getModuleConfig('Namespace_Modulename')->is('active', 'true'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment