aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/common.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/common.php')
-rw-r--r--phpBB/common.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/phpBB/common.php b/phpBB/common.php
index 09f6d967a6..fad64a7fd9 100644
--- a/phpBB/common.php
+++ b/phpBB/common.php
@@ -102,7 +102,13 @@ $theme = Array();
$images = Array();
$lang = Array();
-include($phpbb_root_path . 'config.'.$phpEx);
+@include($phpbb_root_path . 'config.'.$phpEx);
+
+if( !defined("PHPBB_INSTALLED") )
+{
+ header("Location: install.$phpEx");
+}
+
include($phpbb_root_path . 'includes/constants.'.$phpEx);
include($phpbb_root_path . 'includes/template.'.$phpEx);
include($phpbb_root_path . 'includes/sessions.'.$phpEx);