aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRubén Calvo <rubencm@gmail.com>2017-07-12 11:51:57 +0200
committerMarc Alexander <admin@m-a-styles.de>2019-05-08 21:52:30 +0200
commit3f3d88696be93e435fa91724134592e0ee363a7c (patch)
treeba176e276bfda0bfd54f77b9786268b500c18be2 /vagrant
parent[ticket/15269] Set development environment and enable all debugs with vagrant (diff)
downloadphpbb-3f3d88696be93e435fa91724134592e0ee363a7c.tar.gz
phpbb-3f3d88696be93e435fa91724134592e0ee363a7c.tar.bz2
phpbb-3f3d88696be93e435fa91724134592e0ee363a7c.zip
[ticket/15269] Remove comment only if is the beginning of a line
PHPBB3-15269
Diffstat (limited to 'vagrant')
-rwxr-xr-xvagrant/after.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/vagrant/after.sh b/vagrant/after.sh
index 1a14adc109..63503d9981 100755
--- a/vagrant/after.sh
+++ b/vagrant/after.sh
@@ -38,10 +38,10 @@ echo "@define('DEBUG', true);" >> ${PHPBB_CONFIG}
sed -i '/^.*PHPBB_ENVIRONMENT.*$/s/production/development/' ${PHPBB_CONFIG}
# Display load time
-sed -i '/^.*PHPBB_DISPLAY_LOAD_TIME.*$/s/\/\/[[:blank:]]*//' ${PHPBB_CONFIG}
+sed -i '/^.*PHPBB_DISPLAY_LOAD_TIME.*$/s/^\/\/[[:blank:]]*//' ${PHPBB_CONFIG}
# Enable debug container
-sed -i '/^.*DEBUG_CONTAINER.*$/s/\/\/[[:blank:]]*//' ${PHPBB_CONFIG}
+sed -i '/^.*DEBUG_CONTAINER.*$/s/^\/\/[[:blank:]]*//' ${PHPBB_CONFIG}
# Update the PHP memory limits (enough to allow phpunit tests to run)
sed -i "s/memory_limit = .*/memory_limit = 1024M/" /etc/php/7.1/fpm/php.ini