owncloud/core — pull request #2147 by eMerzh (2013-03-06 22:42:23+00:00)
Title: [OC6] Allow to load splited config files

**ONLY FOR OC6**

if you tried to manage a clean commented OC file, you probably want to read more :p

So... when you have a config file, you write things in there like comments or special config values , everything get lost as soon as you have an upgrade of OC.

This PR let you have multiple config files :
every file that start with "config.php" will be loaded and we will try to access the $CONFIG var...
so you can have like puppet.config.php or what you want...

It will always load first the config.php file and merge the configs with later files (ordered naturally)

so it doesn't matter if OC only write in the config.php file (as before) because our config fille will override this (only if the key is defined).

Example :

```php
//config.php
'5506f9e999fe9',
'passwordsalt' => 'c2536fd54ee820ceb4799400dc932f',
'loglevel' => '0',
//....
);
````
AND
```php
//puppet.config.php
'12',
);
````
The result will be a loaded like
```php
'5506f9e999fe9',
'passwordsalt' => 'c2536fd54ee820ceb4799400dc932f',
'loglevel' => '12',
//....
);
```
ref #946

_sorry to open another OC6 bug now ... but this thing bother me too much, i had to do smth!_