3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/servers/web-apps/matomo/change-path-geoip2.patch
Olivier Marty 7852ea1596 nixos/matomo: point path.geoip2 outside of the nix store.
path.geoip2 pointed to the nix store which is read-only. Matomo was
failing to download a geoip2 database. See #64759.
2022-02-16 22:21:44 +03:00

11 lines
264 B
Diff

--- a/plugins/GeoIp2/config/config.php
+++ b/plugins/GeoIp2/config/config.php
@@ -1,5 +1,5 @@
<?php
return [
- 'path.geoip2' => DI\string('{path.root}/misc/'),
+ 'path.geoip2' => PIWIK_USER_PATH . '/misc/',
];
\ Pas de fin de ligne à la fin du fichier