Skip to content


The user config file cannot only define a variable, it has to define the whole "category" of variables #5446

mattab opened this Issue · 2 comments

1 participant

Piwik Open Source Analytics member

In the config.ini.php, it is not possible to set a configuration settings in a config file without setting the whole category in this config file.

We should have some sort of merging that would make possible to set only a sub configuration variable from the global.ini.php into the config.ini.php. This way, during an upgrade, we could keep only the config/config.ini.php and overwrite the other config files with the updated piwik version and we would keep the user changes.


In global.ini.php [Test]

value1=test1 value2=test2

In config.ini.php it is NOT YET possible to change only value1 doing something like [Test]


Currently the user has to paste the whole category to change only this variable [Test]

value1=test1edited value2=test2
Piwik Open Source Analytics member

Solution: we should merge the config file before reading them using parse_ini_file?

Piwik Open Source Analytics member

fixed and added test in 930

@mattab mattab added this to the RobotRock milestone
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.