GetWebHareResource (open)
Get a WebHare resource (like GetHareScriptResource, but adds support for site::, whfsbyid:: etc)
Syntax
LOADLIB "mod::system/lib/resources.whlib";
BLOB FUNCTION GetWebHareResource(STRING resourcepath, RECORD options)Parameters
STRING resourcepathResource path
RECORD optionsOptions
allowmissingIf set to TRUE, don't throw if the resource doesn't exist but return a DEFAULT BLOB
Return value
BLOBContents of resource file