1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-08 01:36:57 +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

@@ -29,6 +29,11 @@ $phpbb_class_loader->register();
$phpbb_config_php_file = new \phpbb\config_php_file($phpbb_root_path, $phpEx);
extract($phpbb_config_php_file->get_all());
if (!defined('ENVIRONMENT'))
{
@define('ENVIRONMENT', 'productive');
}
if (!defined('PHPBB_INSTALLED'))
{
// Redirect the user to the installer