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