Is there a clean way to make a difference code wise between EE and CE?
The problem.
I'm updating an extension so it will work nicely on ce-1.9.
The extension is not for EE, but it seams to work on that also.
For the update I need to create an upgrade script that should be executed only if installed on CE-1.9 (or EE 1.14).
I cannot simply check
version_compare(Mage::getVersion, '1.9', '>=');
because this will be triggered in EE 1.9+ and I don't want that.
Right now I'm using this:
$isEE = Mage::helper('core')->isModuleEnabled('Enterprise_Enterprise');
but it seams kind of ugly.
Any other ways to check?