0

How Magento creates app/etc/local.xml?
Where should I look into to get the procedure of this local.xml creation?

1 Answer 1

3

The local.xml file is created in the file app/code/core/Mage/Install/Model/Installer/Config.php

The creation of the file is trigger by the Mage_Install_WizardController in the function configPostAction() that calls the Mage_Install_Model_Installer::installConfig() function and this then calls the Mage_Install_Model_Installer_Config::install() function that writes to the local.xml file.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.