Skip to content

Configuration Elements cannot be replaced #118

@bepixeld

Description

@bepixeld

If multiple configuration files are used, a configuration item cannot be replaced.
e.g. Standard Configuration with User Configuration.
default: $config['lang' => 'en'];
user: $config['lang' => 'de'];
Calling $obj->getConfig('lang') returns an array ['en', 'de'].
However, the string 'de' would be desired.
Is there a special reason why array_merge_recursive is used?
This can be prevented with array_replace_recursive.
Thanks in advance for an explanation.
See #117

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions