Open mattab opened 10 years ago
That would mean that plugins could never be able to customize the DB configuration or implementation being used, because the DB would need to be created before loading the plugins.
Good point, I'm moving it out of milestone as Im not sure this is so important anymore...
Good point, I'm moving it out of milestone as Im not sure this is so important anymore...
This is important for users with multiple Matomo app servers behind load balancers and ensuring that if you install the package that it is installed everywhere and available everywhere (there's probably a requirement that all nodes are triggerable on updating the list of plugins. At the moment I'm using configuration management to git clone the plugin into the directory and to push out the config file onto all the servers to enable the plugin.) Using a settings file in such a context does not make any sense.
Currently the list of enabled plugins is stored in the config.ini.php.
Goal of this ticket is to store the list of enabled plugins in the database instead.
Benefit: this will ensure that list of enabled plugins is synchronised across all servers used by Piwik, without having to manually synchronise it whenever new plugins are enabled/disabled.
Tasks
piwik_option
table, with autoload=1)see also #6529