mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 21:38:54 +00:00
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
This commit is contained in:
parent
d0febff388
commit
1c145bf6bd
1 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
|
|
Loading…
Add table
Reference in a new issue