diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-10-09 23:28:31 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-10-09 23:28:31 +0000 |
commit | 48f8c7be63afd5cf824b478fcd87c9825971dadb (patch) | |
tree | 738eed546962fc534ede9938dc0e8608c9a9a9cc /phpBB/common.php | |
parent | 1d0ade7168370fe210f0acfaf58a2d3b344d3c89 (diff) | |
download | forums-48f8c7be63afd5cf824b478fcd87c9825971dadb.tar forums-48f8c7be63afd5cf824b478fcd87c9825971dadb.tar.gz forums-48f8c7be63afd5cf824b478fcd87c9825971dadb.tar.bz2 forums-48f8c7be63afd5cf824b478fcd87c9825971dadb.tar.xz forums-48f8c7be63afd5cf824b478fcd87c9825971dadb.zip |
A few tweaks to install
git-svn-id: file:///svn/phpbb/trunk@1144 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/common.php')
-rw-r--r-- | phpBB/common.php | 8 |
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); |