I haven't investigated 'why', but the addition of the router class in https://github.com/redmatrix/hubzilla/commit/1db3409f36f408bfc49816e1fab3df4b53b8f19e 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:
redmatrix
2016-02-27 17:27:46 -08:00
parent cd5630476f
commit a1f046992d
+3
View File
@@ -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;
}
/**