diff options
author | Marc Alexander <admin@m-a-styles.de> | 2014-04-10 23:02:37 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2014-04-11 11:11:31 +0200 |
commit | 22090dc3a3280d043ff5e77212ee7229b5eb0d24 (patch) | |
tree | aa7666b7d321bd0c3ef6a709e4e1d8bdf5316ba5 /tests/test_framework | |
parent | d5363bd095219c6ca1e5b32efa2fa80239badd30 (diff) | |
download | forums-22090dc3a3280d043ff5e77212ee7229b5eb0d24.tar forums-22090dc3a3280d043ff5e77212ee7229b5eb0d24.tar.gz forums-22090dc3a3280d043ff5e77212ee7229b5eb0d24.tar.bz2 forums-22090dc3a3280d043ff5e77212ee7229b5eb0d24.tar.xz forums-22090dc3a3280d043ff5e77212ee7229b5eb0d24.zip |
[ticket/12386] Add DEBUG_EXTRA again and use it for container creation
We are currently creating a new compiled container on every page load when
having DEBUG enabled. However, one might only have that enabled to be
presented with errors or for getting the page load stats.
This change will add the DEBUG_EXTRA constant again. It will be used for
choosing whether the compiled container should be created on every page load -
when defined as true - or just once after the cache is cleared.
PHPBB3-12386
Diffstat (limited to 'tests/test_framework')
-rw-r--r-- | tests/test_framework/phpbb_functional_test_case.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_framework/phpbb_functional_test_case.php b/tests/test_framework/phpbb_functional_test_case.php index daa8b802b5..1f372fff0c 100644 --- a/tests/test_framework/phpbb_functional_test_case.php +++ b/tests/test_framework/phpbb_functional_test_case.php @@ -300,7 +300,7 @@ class phpbb_functional_test_case extends phpbb_test_case // because that step will create a config.php file if phpBB has the // permission to do so. We have to create the config file on our own // in order to get the DEBUG constants defined. - $config_php_data = phpbb_create_config_file_data(self::$config, self::$config['dbms'], true, true); + $config_php_data = phpbb_create_config_file_data(self::$config, self::$config['dbms'], true, false, true); $config_created = file_put_contents($config_file, $config_php_data) !== false; if (!$config_created) { |