new versions no longer use the Constants.php files as these values are now read and stored into the database

This commit is contained in:
Alex Phillips 2024-02-29 12:52:16 -05:00
parent 8db3027746
commit 8029917340

View File

@ -39,11 +39,4 @@ if [[ ! -e "/config/diskoverdb.sqlite3" ]]; then
fi
ln -sf /config/diskoverdb.sqlite3 /app/diskover-web/diskoverdb.sqlite3
# copy and set variables in Constants.php
if [[ ! -e "/config/diskover-web.conf.d/Constants.php" ]]; then
cp /app/diskover-web/src/diskover/Constants.php.sample /config/diskover-web.conf.d/Constants.php
fi
ln -sf /config/diskover-web.conf.d/Constants.php /app/diskover-web/src/diskover/Constants.php
lsiown -R abc:abc /config