mirror of
https://git.tt-rss.org/fox/ttrss-docker-compose.git
synced 2025-08-15 20:56:56 +02:00
emit a warning if old-style config.php is detected
This commit is contained in:
parent
a94c9abaee
commit
9da8d37115
@ -71,6 +71,9 @@ if [ ! -s $DST_DIR/config.php ]; then
|
||||
cat >> $DST_DIR/config.php << EOF
|
||||
define('NGINX_XACCEL_PREFIX', '/tt-rss');
|
||||
EOF
|
||||
else
|
||||
egrep 'SELF_URL_PATH.*getenv' $DST_DIR/config.php || \
|
||||
echo -e "\nWARNING: you're using old-style config.php, overrides via .env will not work.\n" >/dev/stderr
|
||||
fi
|
||||
|
||||
# this was previously generated
|
||||
|
Loading…
Reference in New Issue
Block a user