We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd59ad3 commit 8095eefCopy full SHA for 8095eef
root/etc/cont-init.d/50-config
@@ -67,6 +67,12 @@ if [[ -f /config/dokuwiki/conf/local.php ]]; then
67
sed -i -e 's/#location/location/g' \
68
/config/nginx/site-confs/default && \
69
echo "Existing install found install.php not available"
70
+
71
+ # when default savedir stil active: change it to the path IN the container
72
+ if ! grep -q "^\$conf\[\'savedir\'\]\s*\=" /config/dokuwiki/conf/local.php; then
73
+ echo "Set 'savedir' to absolute path in the container"
74
+ echo "\$conf['savedir'] = '/app/dokuwiki/data';" >> /config/dokuwiki/conf/local.php
75
+ fi
76
else
77
echo "Go to http://IP-ADDRESS:PORT/install.php to configure your install then restart your container when finished to remove install.php"
78
fi
0 commit comments