Skip to content
Snippets Groups Projects
Verified Commit 74f37e14 authored by David Beniamine's avatar David Beniamine
Browse files

Remove debug info in prod

parent 5fab2ad1
Branches
No related tags found
No related merge requests found
...@@ -11,6 +11,8 @@ git checkout $DOLI_VERSION ...@@ -11,6 +11,8 @@ git checkout $DOLI_VERSION
if [ "$ENV" == "prod" ]; then if [ "$ENV" == "prod" ]; then
sed -i '/\(xdebug.*\)/d' /etc/php/$PHP_VER/fpm/conf.d/00-dolibarr.ini sed -i '/\(xdebug.*\)/d' /etc/php/$PHP_VER/fpm/conf.d/00-dolibarr.ini
sed -i '/\(xdebug.*\)/d' /etc/php/$PHP_VER/cli/conf.d/00-dolibarr.ini sed -i '/\(xdebug.*\)/d' /etc/php/$PHP_VER/cli/conf.d/00-dolibarr.ini
sed -i '/error/d' /etc/php/$PHP_VER/fpm/conf.d/00-dolibarr.ini
sed -i '/error/d' /etc/php/$PHP_VER/cli/conf.d/00-dolibarr.ini
apt-get purge -y php-xdebug apt-get purge -y php-xdebug
fi fi
echo "*/5 * * * * www-data /usr/bin/php /var/www/dolibarr/scripts/cron/cron_run_jobs.php $CRON_KEY $CRON_USER > /var/www/dolibarr/documents/cron_run_jobs.php.log" >> /etc/crontab echo "*/5 * * * * www-data /usr/bin/php /var/www/dolibarr/scripts/cron/cron_run_jobs.php $CRON_KEY $CRON_USER > /var/www/dolibarr/documents/cron_run_jobs.php.log" >> /etc/crontab
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment