From 390b137e0bef39258c2855240d70e919ef4a6a05 Mon Sep 17 00:00:00 2001 From: hackerESQ Date: Sat, 25 Jan 2025 22:33:27 -0600 Subject: [PATCH] wiiiip --- docker/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index ad1e4f8..3a8dbe1 100644 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -7,7 +7,7 @@ run_as_www_user() { su - www-data -c "/usr/local/bin/php /var/www/app/artisan $1" } -if ( ! grep -q "^APP_KEY=" ".env" || grep -q "^APP_KEY=$" ".env"); then +if [[ -z "$APP_KEY" ]]; then echo " > The required APP_KEY configuration is missing in your .env file. Copy and paste this key into your .env file. Then restart the container!" draw_box() {