Reply to thread

The images in src are the icons that are displayed in the admin add-on list. They should be there if they exist and are picked up during add-in installation via the addon.json file's "icon": "icon.png".


While I understand the idea behind a white list, it goes against the whole idea behind the file hash check. It's there to notify people if a file becomes corrupt or is somehow changed. Creating a white list would generally allow any changes to the files that are in the white list, thus opening a point of possible attack via those files or allowing those files to become corrupt and the site admin would never have any idea that happened.


As [USER=1059]@Kirby[/USER] said there are other, better methods to change file contents. So far as images go, I would be more inclined to create new images and use a template modification (not edit the stock template itself) to point to the new images.


Back
Top Bottom