Index: branches/5.1.x/core/install.php =================================================================== diff -u -N -r13172 -r13189 --- branches/5.1.x/core/install.php (.../install.php) (revision 13172) +++ branches/5.1.x/core/install.php (.../install.php) (revision 13189) @@ -1,6 +1,6 @@ GetVar('password') ), 'action=check', 'license_code=' . base64_encode( $this->toolkit->getSystemConfig('Intechnic', 'LicenseCode') ), - 'version=' . '4.3.0',//$this->toolkit->GetMaxModuleVersion('In-Portal'), + 'version=' . '4.3.0',//$this->toolkit->GetMaxModuleVersion('core/'), 'domain=' . base64_encode($_SERVER['HTTP_HOST']), ); @@ -585,10 +585,10 @@ $this->toolkit->SetModuleRootCategory('Core', $this->Conn->getInsertID()); // set module "Core" version after install (based on upgrade scripts) - $this->toolkit->SetModuleVersion('Core'); + $this->toolkit->SetModuleVersion('Core', 'core/'); // for now we set "In-Portal" module version to "Core" module version (during clean install) - $this->toolkit->SetModuleVersion('In-Portal', $this->toolkit->GetMaxModuleVersion('Core')); + $this->toolkit->SetModuleVersion('In-Portal', 'core/'); } break; @@ -656,7 +656,7 @@ $url_params = Array ( 'login=' . md5($license_login), 'password=' . md5($license_password), - 'version=' . $this->toolkit->GetMaxModuleVersion('In-Portal'), + 'version=' . $this->toolkit->GetMaxModuleVersion('core/'), 'domain=' . base64_encode($_SERVER['HTTP_HOST']), ); @@ -695,7 +695,7 @@ 'license_id=' . md5($license_id), 'dlog=' . md5($license_login), 'dpass=' . md5($license_password), - 'version=' . $this->toolkit->GetMaxModuleVersion('In-Portal'), + 'version=' . $this->toolkit->GetMaxModuleVersion('core/'), 'domain=' . base64_encode($_SERVER['HTTP_HOST']), ); @@ -792,9 +792,6 @@ $install_file = MODULES_PATH.'/'.$module.'/install.php'; if (file_exists($install_file)) { include_once($install_file); - - // set module version after install (based on upgrade scripts) - $this->toolkit->SetModuleVersion($module); } } }