You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was watching a quick tuto on Youtube about creating a child theme. And during the tutorial, there was mentioned
that copying the .htaccess from config dir to the new config dir of the child theme as something that was needed in order to protect it. And going back to the https://devdocs.prestashop.com/1.7/themes/reference/template-inheritance/parent-child-feature/ page I saw no mention about it.
Please could you kindly let me know if this is needed, and if the devdocs page needs to be updated?
Thanks
The text was updated successfully, but these errors were encountered:
Hello @Hokuto-shinken if you expose the PrestaShop folder in a directory available to the public, you indeed need to make sure you only expose the files you want to be downloaded, like CSS and JavaScript files.
In order to protect files such as PHP code files, you can use a .htaccess but other options are available and depend on your hosting environment.
Hi dear,
I was watching a quick tuto on Youtube about creating a child theme. And during the tutorial, there was mentioned
that copying the .htaccess from config dir to the new config dir of the child theme as something that was needed in order to protect it. And going back to the https://devdocs.prestashop.com/1.7/themes/reference/template-inheritance/parent-child-feature/ page I saw no mention about it.
Please could you kindly let me know if this is needed, and if the devdocs page needs to be updated?
Thanks
The text was updated successfully, but these errors were encountered: