mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/10547] User is not logged in as admin after installation
After installing, when user clicks Login button (final installation step), he is not logged in because there's a missing var ($data) PHPBB3-10547
This commit is contained in:
parent
0e954506c0
commit
1c9993055a
1 changed files with 3 additions and 0 deletions
|
@ -1804,6 +1804,9 @@ class install_install extends module
|
|||
|
||||
$this->page_title = $lang['STAGE_FINAL'];
|
||||
|
||||
// Obtain any submitted data
|
||||
$data = $this->get_submitted_data();
|
||||
|
||||
// We need to fill the config to let internal functions correctly work
|
||||
$config = new phpbb_config_db($db, new phpbb_cache_driver_null, CONFIG_TABLE);
|
||||
set_config(null, null, null, $config);
|
||||
|
|
Loading…
Add table
Reference in a new issue