Check whether a module is installed – Magento

<?php

$modules = Mage::getConfig()->getNode(‘modules’)->children();
$modulesArray = (array)$modules;

if(isset($modulesArray[‘Mage_Blogl’])) {
echo “Blog module exists.”;
}

?>

Share

Leave a Reply

Your email address will not be published. Required fields are marked *