Closed zero0cool0 closed 5 months ago
@plegall any chance this PR could be considered by any of the maintainers?
Applied your PR locally and that allowed me to actually activate the plugin, thank you!
thanks
@xbgmsharp - I suggest to revert this PR as it does not really fix the issue for containerised Piwigo installations. Also, it breaks non-containerised instances, see #262
In containerised instances such as https://hub.docker.com/r/linuxserver/piwigo relative folder references such as './' from within osmmap.php do not work since the plugin folder as well as the _data folder reside outside the main piwigo root folder and are soft-linked into it.
Once the PR is reverted, the workaround is to manually create an empty osmmap.php file with the correct permissions in the Piwigo root folder every time the Piwigo docker image is updated.
Proposed pull request to address #253