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
.
@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