$moduleName = 'Mage_Core'; // edit to your required module name
if (Mage::helper('core')->isModuleEnabled($moduleName)) {
echo "Module is enabled.";
} else {
echo "Module is disabled.";
}
if (Mage::helper('core')->isModuleEnabled($moduleName)) {
echo "Module is enabled.";
} else {
echo "Module is disabled.";
}
No comments:
Post a Comment