mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-23 18:11:47 +02: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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
|
Reference in New Issue
Block a user