$config.read Reads an entry from a config file |
Usage |
$config.read(<id:string>,<key:string>[,<default:string>]) |
Description |
Reads and returns the value associated to <key> in the current section of the config
file identified by <id>. <id> must be a valid config identifier returned by $config.open() If no value is associated with <key> in the current section the return value is an empty string or the string <default> if it has been passed. |
See also |
config module documentation |