升级框架版本,PHP最低要求8.2

This commit is contained in:
net909
2026-07-28 21:24:51 +08:00
parent 4826b8c758
commit 8ef3e2e802
16 changed files with 1083 additions and 353 deletions
+18
View File
@@ -0,0 +1,18 @@
#!/bin/bash
set -e
if [ ! -f /app/www/public/index.php ] || [ ! -f /app/firstrun ]; then
echo 'Copying new files'
\cp -a /usr/src/www /app/
if [ -d /app/www/runtime/cache ]; then
rm -rf /app/www/runtime/*
fi
chown -R www:www /app/www
touch /app/firstrun
fi
exec "$@"