Jump to content
Amin Vatandoust

Directory's htaccess generator

Recommended Posts

Hi

I'm using PrestaShop 1.6.1.23. I add my banner images in webp format, when I regenerate images (jpg to webp) with my third-party module, htaccess file in Upload folder will reset to default. So to show images in site, I have to add webp to allowed files manually (in htaccess file of Upload folder). I want to know what is the file/code that creates this file and maybe with that I can add webp to default formats like png/jpg so next time that it wants to regenerate, it would add webp by default.

Thanks.

Edited by Amin Vatandoust (see edit history)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More