aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/common.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/common.php')
-rw-r--r--phpBB/common.php5
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