enable DEBUG mode for unstable release
This commit is contained in:
parent
6b313d24ae
commit
d6404ed16b
1 changed files with 9 additions and 0 deletions
|
@ -37,6 +37,15 @@ else
|
|||
fi
|
||||
fi
|
||||
|
||||
# DEBUG mode for unstable release
|
||||
if [ "$CNL_DOTCLEAR" == "unstable" ]; then
|
||||
echo >&2 "Enabling Dotclear DEBUG mode"
|
||||
sed -i -e "s/ \/\*== DC_DEBUG ==/ \/\/\*== DC_DEBUG ==/g" /var/www/dotclear/app/src/Config.php
|
||||
else
|
||||
echo >&2 "Disabling Dotclear DEBUG mode"
|
||||
sed -i -e "s/ \/\/\*== DC_DEBUG ==/ \/\*== DC_DEBUG ==/g" /var/www/dotclear/app/src/Config.php
|
||||
fi
|
||||
|
||||
# Fix www permissions
|
||||
echo >&2 "Setting up permissions..."
|
||||
chown -R www:www /var/www/dotclear
|
||||
|
|
Loading…
Reference in a new issue