diff options
author | Tristan Darricau <github@nicofuma.fr> | 2014-05-30 16:18:11 +0200 |
---|---|---|
committer | Tristan Darricau <github@nicofuma.fr> | 2014-11-20 19:00:42 +0100 |
commit | c4842fe119a2947c3d6c34239f83d4d887a39f00 (patch) | |
tree | 74fadd483cf4cf2cbe4f2a142dd0f8347a32ffd1 | |
parent | 733ae584dd09a0d922fa8f56a0bdc7b3ae359266 (diff) | |
download | forums-c4842fe119a2947c3d6c34239f83d4d887a39f00.tar forums-c4842fe119a2947c3d6c34239f83d4d887a39f00.tar.gz forums-c4842fe119a2947c3d6c34239f83d4d887a39f00.tar.bz2 forums-c4842fe119a2947c3d6c34239f83d4d887a39f00.tar.xz forums-c4842fe119a2947c3d6c34239f83d4d887a39f00.zip |
[ticket/12620] Fix functional tests
PHPBB3-12620
-rw-r--r-- | phpBB/includes/functions_install.php | 1 | ||||
-rw-r--r-- | phpBB/install/index.php | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/includes/functions_install.php b/phpBB/includes/functions_install.php index 1b63414cec..4ed44da0b1 100644 --- a/phpBB/includes/functions_install.php +++ b/phpBB/includes/functions_install.php @@ -472,6 +472,7 @@ function phpbb_create_config_file_data($data, $dbms, $debug = false, $debug_cont if ($debug_test) { $config_data .= "@define('DEBUG_TEST', true);\n"; + $config_data .= "@define('DEBUG', true);\n"; // Mandatory for the functional tests, will be removed by PHPBB3-12623 } return $config_data; diff --git a/phpBB/install/index.php b/phpBB/install/index.php index 3dd73adc60..00a35b4690 100644 --- a/phpBB/install/index.php +++ b/phpBB/install/index.php @@ -16,6 +16,7 @@ */ define('IN_PHPBB', true); define('IN_INSTALL', true); +define('ENVIRONMENT', 'productive'); /**#@-*/ $phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './../'; |