=')){ // Code to be executed for Magento version >= 1.9.1.0 } else { // Code to be executed for Magento version < 1.9.1.0 } ?>This example uses Mage::getVersion() in conjunction with the version_compare() function to execute different code based on the version of Magento installed. If the version is greater than or equal to 1.9.1.0, the code in the if statement will be executed. Otherwise, the code in the else statement will be executed. In both examples, the package library is the Magento PHP library.