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

fix/improve handling of tmp directory config #12365

Merged
merged 1 commit into from Dec 19, 2017
Merged

fix/improve handling of tmp directory config #12365

merged 1 commit into from Dec 19, 2017

Conversation

sgiehl
Copy link
Member

@sgiehl sgiehl commented Dec 16, 2017

we need to define a default in global.php as otherwise there are strange things happening if global.ini.php file is missing. Piwik then uses an empty tmp path, resulting in overwriting Piwik's index.php to prevent directory listing of the tmp path.

Test were failing because the behavior of missing global.ini.php is tested in EnvironmentValidationTest.

follow up #12189
replaces #12361

@sgiehl sgiehl added Needs Review PRs that need a code review not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. labels Dec 16, 2017
@sgiehl sgiehl added this to the 3.2.2 milestone Dec 16, 2017
@sgiehl sgiehl requested a review from mattab December 18, 2017 23:09
@sgiehl
Copy link
Member Author

sgiehl commented Dec 19, 2017

@mattab I'm going to merge this now in order to have working tests again. If we need to change something again, feel free to create a new issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Review PRs that need a code review 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.

None yet

2 participants