aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/upgrade.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2002-02-11 13:05:08 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2002-02-11 13:05:08 +0000
commit1c145bf6bdfcb65340567409b75e66d1495b506f (patch)
treec8f557955f00d582881a75c5013eb0b1ffb72c2b /phpBB/upgrade.php
parentd0febff388dbf48fab7179dcb043cc06846c33fe (diff)
downloadforums-1c145bf6bdfcb65340567409b75e66d1495b506f.tar
forums-1c145bf6bdfcb65340567409b75e66d1495b506f.tar.gz
forums-1c145bf6bdfcb65340567409b75e66d1495b506f.tar.bz2
forums-1c145bf6bdfcb65340567409b75e66d1495b506f.tar.xz
forums-1c145bf6bdfcb65340567409b75e66d1495b506f.zip
Prevent upgrade being run standalone from install if PHPBB_INSTALLED present in config.
git-svn-id: file:///svn/phpbb/trunk@2088 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/upgrade.php')
-rw-r--r--phpBB/upgrade.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/phpBB/upgrade.php b/phpBB/upgrade.php
index dc50e9e65b..4d81eed295 100644
--- a/phpBB/upgrade.php
+++ b/phpBB/upgrade.php
@@ -29,6 +29,12 @@ if ( !defined('INSTALLING') )
include('config.'.$phpEx);
include('includes/constants.'.$phpEx);
include('includes/functions.'.$phpEx);
+
+ if( defined("PHPBB_INSTALLED") )
+ {
+ header("Location: index.$phpEx");
+ exit;
+ }
}
//