diff options
author | Tristan Darricau <github@nicofuma.fr> | 2014-05-30 14:57:19 +0200 |
---|---|---|
committer | Tristan Darricau <github@nicofuma.fr> | 2014-11-20 19:00:27 +0100 |
commit | c22562f5cdb3db9482a7c6bc2398ebb12cbcfb8b (patch) | |
tree | d1ae777023a9985c42301f3c5d5575b8a18070bb /phpBB/includes/functions_install.php | |
parent | 6fa0ca1f96fa75624ab2b4fca8b390568440b3c1 (diff) | |
download | forums-c22562f5cdb3db9482a7c6bc2398ebb12cbcfb8b.tar forums-c22562f5cdb3db9482a7c6bc2398ebb12cbcfb8b.tar.gz forums-c22562f5cdb3db9482a7c6bc2398ebb12cbcfb8b.tar.bz2 forums-c22562f5cdb3db9482a7c6bc2398ebb12cbcfb8b.tar.xz forums-c22562f5cdb3db9482a7c6bc2398ebb12cbcfb8b.zip |
[ticket/12620] Allow the user to define multiples environments
PHPBB3-12620
Diffstat (limited to 'phpBB/includes/functions_install.php')
-rw-r--r-- | phpBB/includes/functions_install.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions_install.php b/phpBB/includes/functions_install.php index 28cc603bdb..2be8e6e860 100644 --- a/phpBB/includes/functions_install.php +++ b/phpBB/includes/functions_install.php @@ -453,11 +453,11 @@ function phpbb_create_config_file_data($data, $dbms, $debug = false, $debug_cont if ($debug) { - $config_data .= "@define('DEBUG', true);\n"; + $config_data .= "@define('ENVIRONMENT', 'debug');\n"; } else { - $config_data .= "// @define('DEBUG', true);\n"; + $config_data .= "@define('ENVIRONMENT', 'productive');\n"; } if ($debug_container) |