setAllowedFolders
Sets the path of an allowed folder from the app settings. This folder has to exists or the path will be empty.
Syntax
setAllowedFolders(name, value)
Returns
returns (integer) true is successful
Parameters
- name (string)
- a unique name
- path (string)
- absolute path to a local folder
Usage
NOTE: this will only affect folders.NAME on reload of the recipt