To reproduce:

- install d8
- make sure you are logged out
- go to the page http://.../core/update.php
- it tells you to set $settings['update_free_access'] = TRUE

Now, opening sites/default/settings.php, you will find $update_free_access but not $settings['update_free_access']

Setting $update_free_access to TRUE does nothing, but adding a new line $settings['update_free_access'] = TRUE actually does give you free access.

To do

- make sure settings.php and update.php are consistent.
- make sure the implementation of hook_requirements(), if applicable, checks for the correct var

Comments

hansfn’s picture

Status: Active » Closed (fixed)

This is fixed - see #1833516: Add a new top-level global for settings.php - move things out of $conf and this commit (see diff for sites/default/default.settings.php).

Unfortunately, for people having a settings.php based on the old default.settings.php this didn't help ...