Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

autoload file with constants : how ? 
 
scallion
Jr. Member
 
Total Posts:  3
Joined:  2008-08-05
 

Hi,

For my Magento project, I have several constants to define. So far, I defined them into Mage.php, but I would like to move them so I will not lose my constants when I update Magento (that is what happened with the 1.1.4 update).

Is there a possibility to create an autoloaded file containing my own constants without changing Magento files ?

Thanks a lot !

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top