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

Respect enable_required_directories_diagnostic option in server info diagnostics #19137

Merged
merged 2 commits into from Apr 28, 2022

Conversation

HCl-not-HCi
Copy link
Contributor

Description:

I found another location where the accessibility of the global.ini.php is checked despite the enable_required_directories_diagnostic option is disabled in the config (the other case was fixed in #19031).
I just copied the changes over from #19031 to here.

Fixes #18967

Review

@sgiehl sgiehl added the Needs Review PRs that need a code review label Apr 25, 2022
@bx80
Copy link
Contributor

bx80 commented Apr 27, 2022

Hi @HCl-not-HCi, thanks for submitting this PR, much appreciated! 🙂

The change looks good to me, the only minor thing would be adding a use statement for the GeneralConfig class:

use Piwik\Config\GeneralConfig;

If you get a chance to commit that then I'll get this merged into the development branch 👍

@bx80 bx80 removed the Needs Review PRs that need a code review label Apr 27, 2022
@HCl-not-HCi
Copy link
Contributor Author

Oh, I've overseen that. Thanks for letting me know @bx80
Now it should be ready to merge 👍

@sgiehl sgiehl modified the milestones: 4.11.0, 4.10.0 Apr 28, 2022
@bx80 bx80 merged commit 0d38978 into matomo-org:4.x-dev Apr 28, 2022
@HCl-not-HCi HCl-not-HCi deleted the patch-1 branch April 29, 2022 22:16
@justinvelluppillai justinvelluppillai added the not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. label May 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

System check - don't request private directories when disabled
4 participants