magento-hackathon / Magento-PSR-0-Autoloader

This Extension adds a PSR-0 Autoloader before the Magento Autoloader
60 stars 21 forks source link

Is there any chance to use before Mage::run()? #11

Open andkirby opened 8 years ago

andkirby commented 8 years ago

Is there any chance to use before Mage::run()? Let's say Mage.php already required.

Flyingmana commented 8 years ago

the hackathon composer installer in its current 3.0 version hooks into a central place to make sure the composer autoloader is loaded before Mage::run()

You can also try to call the event like here https://github.com/magento-hackathon/Magento-PSR-0-Autoloader/blob/master/shell/autoloader_initializer.php

andkirby commented 8 years ago

Got it, thanks!