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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

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