From 70201ee8fa084da667b0b1a308d48d2f3c8a541b Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Fri, 30 May 2014 15:37:45 +0200 Subject: [ticket/12620] Rename debug to development PHPBB3-12620 --- phpBB/config/environment_debug.yml | 2 -- phpBB/config/environment_development.yml | 2 ++ phpBB/includes/functions_install.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) delete mode 100644 phpBB/config/environment_debug.yml create mode 100644 phpBB/config/environment_development.yml (limited to 'phpBB') diff --git a/phpBB/config/environment_debug.yml b/phpBB/config/environment_debug.yml deleted file mode 100644 index 6982aa4f83..0000000000 --- a/phpBB/config/environment_debug.yml +++ /dev/null @@ -1,2 +0,0 @@ -imports: - - { resource: services.yml } diff --git a/phpBB/config/environment_development.yml b/phpBB/config/environment_development.yml new file mode 100644 index 0000000000..6982aa4f83 --- /dev/null +++ b/phpBB/config/environment_development.yml @@ -0,0 +1,2 @@ +imports: + - { resource: services.yml } diff --git a/phpBB/includes/functions_install.php b/phpBB/includes/functions_install.php index 2be8e6e860..1b63414cec 100644 --- a/phpBB/includes/functions_install.php +++ b/phpBB/includes/functions_install.php @@ -453,7 +453,7 @@ function phpbb_create_config_file_data($data, $dbms, $debug = false, $debug_cont if ($debug) { - $config_data .= "@define('ENVIRONMENT', 'debug');\n"; + $config_data .= "@define('ENVIRONMENT', 'development');\n"; } else { -- cgit v1.2.1