Index: trunk/core/install.php =================================================================== diff -u -N -r7855 -r8078 --- trunk/core/install.php (.../install.php) (revision 7855) +++ trunk/core/install.php (.../install.php) (revision 8078) @@ -146,7 +146,7 @@ $this->systemConfig = $this->ParseConfig(true); $this->systemConfig['Misc']['WriteablePath'] = '/system'; // for development purposes - + $this->systemConfig['Misc']['Domain'] = $_SERVER['HTTP_HOST']; // for redirects from SSL mode $this->currentStep = $this->GetVar('step'); // can't check login on steps where no application present anyways :) @@ -507,6 +507,9 @@ } $upgrade_object = new $upgrade_classes[$module_path](); + if (method_exists($upgrade_object, 'setInstallator')) { + $upgrade_object->setInstallator($this); + } foreach ($versions as $version) { $upgrade_method = 'Upgrade_'.str_replace('.', '_', $version);