From 1bed4fc629fffbb851e8df655cc6741cf5944b09 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Sat, 21 Dec 2024 15:35:16 +0100 Subject: [PATCH] add DEV mode to non stable releases --- docker-entrypoint.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 63eab04..9decd1c 100644 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -69,8 +69,9 @@ if [ "$DC_DOCKER_CANAL" == "stable" ]; then echo >&2 "Disabling Dotclear DEBUG mode" sed -i -e "s/ \/\/\*== DC_DEBUG ==/ \/\*== DC_DEBUG ==/g" /var/www/dotclear/app/src/Config.php else - echo >&2 "Enabling Dotclear DEBUG mode" + echo >&2 "Enabling Dotclear DEBUG mode and DEV mode" sed -i -e "s/ \/\*== DC_DEBUG ==/ \/\/\*== DC_DEBUG ==/g" /var/www/dotclear/app/src/Config.php + sed -i -e "s/'DC_DEV', false/'DC_DEV', true/g" /var/www/dotclear/app/src/Config.php fi # Various cleanup. Sorry not sorry.