feature/sso-hardening #9

Merged
bstein merged 685 commits from feature/sso-hardening into main 2026-01-13 20:23:26 +00:00
Showing only changes of commit cb7429a6a1 - Show all commits

View File

@ -32,6 +32,12 @@ spec:
rm -f /var/www/html/config/config.php || true
fi
mkdir -p /var/www/html/data || true
if [ ! -f /var/www/html/data/.ocdata ]; then
touch /var/www/html/data/.ocdata
fi
if [ -s /var/www/html/config/config.php ] && ! grep -q "'installed'" /var/www/html/config/config.php; then
sed -i "/^);/i\\ 'installed' => true," /var/www/html/config/config.php
fi
chown 33:33 /var/www/html || true
chmod 775 /var/www/html || true
chown 33:33 /var/www/html/config || true