From 907c20bad29414d8d41f51503cebe9454d561c5c Mon Sep 17 00:00:00 2001 From: Vincent Mahnke Date: Sat, 1 Nov 2025 21:27:47 +0100 Subject: [PATCH] fix: Enables PHP log output when running in `development` --- .gitignore | 5 ++++- docker-compose.dev.yml | 2 ++ web/www/sunders/add-lists.php | 1 - web/www/sunders/camera.php | 1 - web/www/sunders/config.php | 11 +++++++++++ 5 files changed, 17 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 09f94a6..1febf73 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,7 @@ lastState.txt lastStatisticsUpdate.txt log.* state.txt -migrations \ No newline at end of file +migrations + +# created when running development environment +mariadb/** \ No newline at end of file diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml index 15542fa..61d0016 100644 --- a/docker-compose.dev.yml +++ b/docker-compose.dev.yml @@ -6,6 +6,8 @@ services: web: volumes: - ./web/www/sunders:/var/www/html:Z + environment: + APP_ENV: development data_handler: volumes: diff --git a/web/www/sunders/add-lists.php b/web/www/sunders/add-lists.php index da9f396..12fc0c0 100644 --- a/web/www/sunders/add-lists.php +++ b/web/www/sunders/add-lists.php @@ -1,5 +1,4 @@ \ No newline at end of file