This function will return a configuration object even if the file does not exist.
public static getOptionalConfig ( string $filename = 'config.php', string $configSet = 'simplesaml' ) : SimpleSAML_Configuration | ||
$filename | string | The name of the configuration file. |
$configSet | string | The configuration set. Optional, defaults to 'simplesaml'. |
return | SimpleSAML_Configuration | A configuration object. |