Skip to content

Commit

Permalink
new versions no longer use the Constants.php files as these values ar…
Browse files Browse the repository at this point in the history
…e now read and stored into the database
  • Loading branch information
alex-phillips committed Feb 29, 2024
1 parent 8db3027 commit 8029917
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions root/etc/s6-overlay/s6-rc.d/init-diskover-config/run
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 8029917

Please sign in to comment.