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
[WIP] Update config for PerformanceInfo pluging #7318
Conversation
Hi @ThaDafinser can you explain what you are trying to achieve? I think currently you can already load the local values by doing |
That might conflict with the refactoring in #7312, @diosmosis might have some more info/alternative solution? The method is not tagged |
To get from local config, you should just access the section directly. Sections in the local config completely override default settings in global/common/etc., so the method isn't needed. |
@diosmosis i would like to show the user where the value come from, see here: If i just use the |
This is how i do it now in my plugin Is there any other way to get that? |
before merging we would need to
|
I recently needed this method nearly as well. Would be nice to merge this after adding an BTW: I noticed this is in the Unit test group when it is actually an integration test as it access the file system etc but we can leave it there for now. |
see the new PR |
https://github.com/ThaDafinser/Piwik-PerformanceInfo
Need another public method for the global.ini path.