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 dd4b8f68fa..93e7fde673 100644
--- a/phpBB/common.php
+++ b/phpBB/common.php
@@ -106,6 +106,11 @@ if (defined('IN_CRON'))
$phpbb_root_path = getcwd() . '/';
}
+if (!file_exists($phpbb_root_path . 'config.' . $phpEx))
+{
+ die("<p>The config.$phpEx file could not be found.</p><p><a href=\"$phpbb_root_path/install/index.$phpEx\">Click here to install phpBB</a></p>");
+}
+
require($phpbb_root_path . 'config.' . $phpEx);
if (!defined('PHPBB_INSTALLED'))