add DEV mode to non stable releases
This commit is contained in:
parent
79fab4526d
commit
1bed4fc629
1 changed files with 2 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue