Gets all the sections of an initialization file.
An initialization file, as a struct whose format is as follows:
- Each initialization file section name is a key in the
struct
- Each list of entries in a section of an initialization
file is a value in the struct
Lucee Function Reference
Function GETPROFILESECTIONS
Example
getprofilesections(string iniFile):struct
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
Name | Type | Required | Description |
---|---|---|---|
iniFile | string | Yes | path to a ini file. |