aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/common.php
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2006-06-10 23:11:03 +0000
committerNils Adermann <naderman@naderman.de>2006-06-10 23:11:03 +0000
commit1c169ed0899e469db53dbdff11f3d0ca040f269d (patch)
treec0e601e932dc88a18cd3190de9e11645cb37942c /phpBB/common.php
parent8b40e7fe330b4b18b18116c7a0d197186860e7df (diff)
downloadforums-1c169ed0899e469db53dbdff11f3d0ca040f269d.tar
forums-1c169ed0899e469db53dbdff11f3d0ca040f269d.tar.gz
forums-1c169ed0899e469db53dbdff11f3d0ca040f269d.tar.bz2
forums-1c169ed0899e469db53dbdff11f3d0ca040f269d.tar.xz
forums-1c169ed0899e469db53dbdff11f3d0ca040f269d.zip
- forgot to commit common.php
- cleaning up a few more mcp permissions - adjust some links - make global topics work properly in MCP git-svn-id: file:///svn/phpbb/trunk@6045 89ea8834-ac86-4346-8a33-228a782c2dd0
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'))