1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/12620] Allow the user to define multiples environments

PHPBB3-12620
This commit is contained in:
Tristan Darricau
2014-05-30 14:57:19 +02:00
parent 6fa0ca1f96
commit c22562f5cd
21 changed files with 27 additions and 18 deletions

View File

@@ -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)