GetConfigFilePath()
GetConfigFilePath(string $file_name,boolean $new = false): null|string
Get path to configuration file
In old version some configuration files where stored inside of the cfg directory. This changed with 3.20.0 and all local configurations are now part of the config repository.
Supports without .json extension in path as well.
Parameters
string | $file_name | Relative file path to config folder |
boolean | $new | When true, the local repository file path is returned |
Returns
null|string —Path to the file