mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-13 12:22:03 +02:00
[ticket/15269] Remove comment only if is the beginning of a line
PHPBB3-15269
This commit is contained in:
parent
acab3b048d
commit
3f3d88696b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user