I haven't investigated 'why', but the addition of the router class in 1db3409f36
resulted in the setup global variable $install_wizard_pass to not get initiated at the global level when the setup module file was included. This corrects the situation and makes install work but without explaining why the variable wasn't instantiated in the first place. This may be important - if any other modules use global variables internally. I don't believe that any do, but the behaviour needs to be resolved or documented.
This commit is contained in:
parent
cd5630476f
commit
a1f046992d
@ -41,6 +41,9 @@ function setup_init(&$a) {
|
||||
global $install_wizard_pass;
|
||||
if (x($_POST, 'pass'))
|
||||
$install_wizard_pass = intval($_POST['pass']);
|
||||
else
|
||||
$install_wizard_pass = 1;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user