diff options
author | Tristan Darricau <github@nicofuma.fr> | 2014-05-30 14:57:19 +0200 |
---|---|---|
committer | Tristan Darricau <github@nicofuma.fr> | 2014-11-20 19:00:27 +0100 |
commit | c22562f5cdb3db9482a7c6bc2398ebb12cbcfb8b (patch) | |
tree | d1ae777023a9985c42301f3c5d5575b8a18070bb /phpBB/common.php | |
parent | 6fa0ca1f96fa75624ab2b4fca8b390568440b3c1 (diff) | |
download | forums-c22562f5cdb3db9482a7c6bc2398ebb12cbcfb8b.tar forums-c22562f5cdb3db9482a7c6bc2398ebb12cbcfb8b.tar.gz forums-c22562f5cdb3db9482a7c6bc2398ebb12cbcfb8b.tar.bz2 forums-c22562f5cdb3db9482a7c6bc2398ebb12cbcfb8b.tar.xz forums-c22562f5cdb3db9482a7c6bc2398ebb12cbcfb8b.zip |
[ticket/12620] Allow the user to define multiples environments
PHPBB3-12620
Diffstat (limited to 'phpBB/common.php')
-rw-r--r-- | phpBB/common.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/phpBB/common.php b/phpBB/common.php index 0782bd7321..d4549dc2d4 100644 --- a/phpBB/common.php +++ b/phpBB/common.php @@ -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 |