Skip to content

Commit

Permalink
bug/medium: php.ini: extend open_basedir to /run/s6-rc
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasCARPi committed Sep 27, 2024
1 parent 6a7ab21 commit 8da675b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/entrypoint/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,8 @@ phpConf() {

# production open_basedir conf value
# /etc/ssl/cert.pem is for openssl and timestamp related functions
open_basedir="/.dockerenv:/elabftw/:/tmp/:/usr/bin/unzip:/etc/ssl/cert.pem"
# for /run/s6-rc... see elabftw/elabftw#5249
open_basedir="/.dockerenv:/elabftw/:/tmp/:/usr/bin/unzip:/etc/ssl/cert.pem:/run/s6-rc/servicedirs/s6rc-oneshot-runner"
# DEV MODE
if ($dev_mode); then
# we don't want to use opcache as we want our changes to be immediately visible
Expand Down

0 comments on commit 8da675b

Please sign in to comment.