mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
Merge pull request #4870 from rubencm/ticket/15269
[ticket/15269] Set development environment and enable all debugs when installing with vagrant * github.com:phpbb/phpbb: [ticket/15269] Don't enable DEBUG_CONTAINER by default [ticket/15269] Remove comment only if is the beginning of a line [ticket/15269] Set development environment and enable all debugs with vagrant
This commit is contained in:
commit
60efaef3cb
1 changed files with 7 additions and 1 deletions
|
@ -32,7 +32,13 @@ then
|
|||
fi
|
||||
|
||||
# Add DEBUG mode to phpBB to remove annoying installer warnings
|
||||
sed -i "$ a @define('DEBUG', true);" ${PHPBB_CONFIG}
|
||||
echo "@define('DEBUG', true);" >> ${PHPBB_CONFIG}
|
||||
|
||||
# Change environment to development
|
||||
sed -i '/^.*PHPBB_ENVIRONMENT.*$/s/production/development/' ${PHPBB_CONFIG}
|
||||
|
||||
# Display load time
|
||||
sed -i '/^.*PHPBB_DISPLAY_LOAD_TIME.*$/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…
Add table
Reference in a new issue