How to Get Directory Path in Magento 2 Using Phtml And Controller
While working in Magento, many times there is also a need to get the path of the module’s directory mainly, so in this post, we will show you how to find the path of the module’s directory using the template and controller. Method 1 Getting directory path using controller: Firstly, you need to create a […]