Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Tracker.getDatabaseConfig event is fired before the loading of the plugins #4681

Closed
anonymous-matomo-user opened this issue Feb 14, 2014 · 2 comments
Assignees
Labels
Bug For errors / faults / flaws / inconsistencies etc.

Comments

@anonymous-matomo-user
Copy link

In the Tracker class, the Tracker.getDatabaseConfig event is fired before the loading of the plugins.

So, the DB config is initialized before we can change it with the Tracker.getDatabaseConfig event registered in a plugin

Thierry

@mattab
Copy link
Member

mattab commented Feb 15, 2014

In d828bca: Fixes #4681 Move the Event to the factory so it is executed right before creating the object itself.
Hopefully this works, if not please comment. thanks for report!

@anonymous-matomo-user
Copy link
Author

Thanks for this fix, all is correct with the tracker entire file. I have not the same version of the file

sabl0r pushed a commit to sabl0r/piwik that referenced this issue Sep 23, 2014
… right before creating the object itself.

Hopefully this works, if not please comment. thanks for report!
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

No branches or pull requests

2 participants