How to get the base url in config.xml file
-
15-04-2021 - |
Question
How to get the base url into magento2 module app/etc/config.xml file.
<storefront>
<report_uri>https://www.example.com/</report_uri>
</storefront>
instead of https://www.example.com/ I need to get the base url
Please anyone help me.
thanks
La solution
Get the base url in magento {{config path='web/unsecure/base_url'}}
Licencié sous: CC-BY-SA avec attribution
Non affilié à magento.stackexchange