use absolute path to database in install script

This commit is contained in:
Danny 2018-05-25 14:01:26 +02:00
parent 67bbdf34eb
commit 60ee0d9fcb
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ function setup_config() {
# set filename if using sqlite3
if [ "$DATABASE" == "sqlite3" ]; then
DATABASE_NAME="fathom.db"
DATABASE_NAME="$SITE_DIR_ABS/fathom.db"
fi;
# or ask for credentials if using postgres or mysql