Update sqlite path

This commit is contained in:
Darko Gjorgjijoski
2025-08-31 20:57:45 +02:00
parent 1998d15b25
commit a6ce294497
2 changed files with 14 additions and 14 deletions

View File

@@ -22,8 +22,8 @@ cp .env.example .env
if [ "$DB_CONNECTION" = "sqlite" ] || [ -z "$DB_CONNECTION" ]; then
echo "**** Configure SQLite3 database ****"
if [ ! -n "$DB_DATABASE" ]; then
echo "**** DB_DATABASE not defined. Fall back to default /database/database.sqlite location ****"
DB_DATABASE='/var/www/html/database/database.sqlite'
echo "**** DB_DATABASE not defined. Fall back to default /storage/database.sqlite location ****"
DB_DATABASE='/var/www/html/storage/database.sqlite'
fi
if [ ! -e "$DB_DATABASE" ]; then