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.”;
}

?>

Leave a Reply

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