Skip to content

Instantly share code, notes, and snippets.

@amikitevich
Created January 24, 2016 23:56
Show Gist options
  • Select an option

  • Save amikitevich/4859ec06ee482a3ffe21 to your computer and use it in GitHub Desktop.

Select an option

Save amikitevich/4859ec06ee482a3ffe21 to your computer and use it in GitHub Desktop.
Magento – How to Check if a Module is Installed and is Active
/* 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