Changing config variables of nextcloud via app

Hey there!

Ist it possible to change variables in the config.php via an app?
If yes, could you provide the api docs? I can’t find anything related to that, only the ConfigAPI for the app itself.

Thanks!

I am not aware of any way to change the settings in config.php. Not even the core settings allow to change anything there or am I wrong?

I guess this is due to the fact that there might be multiple files that overlap and override each other. So if you changed something in these files you have to keep the rules in mind anyways. This makes modifications hard to maintain.