Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
andkirby opened this issue Apr 12, 2016 · 2 comments
Open

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

andkirby opened this issue Apr 12, 2016 · 2 comments

Comments

@andkirby
Copy link

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

@Flyingmana
Copy link
Member

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
Copy link
Author

Got it, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants