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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user