XF 2.0 Building with additional files, but skipping health check?

Jaxel

Well-known member
In some of my addons, I am using the additional files function in the build.json:
Code:
{
    "additional_files": [
        "js/8wayrun/porta",
        "styles/8wayrun/porta"
    ],
    "minify": "*"
}

In styles/8wayrun/porta, there is a default image that show when a feature doesn't have a supplied image. The site owner can replace this image with one that more suits their site; this is by design. However, doing so sends off an alert in the XF2 file health check system.

Is there a way to disable file health checking on certain files?
 
No there isn’t but much like similar images in XF the best approach is to provide a style property which points to the default file and then suggest that people update this property to point to the custom file.
 
Not to mention that if they just overwrite your image instead of creating their own their image will be overwritten as soon as they update XenPorta
 
Top Bottom