Added the current installed version of QloApps in the Database
This commit is contained in:
@@ -211,6 +211,9 @@ class InstallModelInstall extends InstallAbstractModel
|
||||
Configuration::updateGlobalValue('PS_LANG_DEFAULT', $id_lang);
|
||||
Configuration::updateGlobalValue('PS_VERSION_DB', _PS_INSTALL_VERSION_);
|
||||
Configuration::updateGlobalValue('PS_INSTALL_VERSION', _PS_INSTALL_VERSION_);
|
||||
Configuration::updateGlobalValue('QLO_VERSION_DB', _QLO_INSTALL_VERSION_);
|
||||
Configuration::updateGlobalValue('QLO_INSTALL_VERSION', _QLO_INSTALL_VERSION_);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -475,6 +478,7 @@ class InstallModelInstall extends InstallAbstractModel
|
||||
Configuration::updateGlobalValue('PS_SHOP_DOMAIN', Tools::getHttpHost());
|
||||
Configuration::updateGlobalValue('PS_SHOP_DOMAIN_SSL', Tools::getHttpHost());
|
||||
Configuration::updateGlobalValue('PS_INSTALL_VERSION', _PS_INSTALL_VERSION_);
|
||||
Configuration::updateGlobalValue('QLO_INSTALL_VERSION', _QLO_INSTALL_VERSION_);
|
||||
Configuration::updateGlobalValue('PS_LOCALE_LANGUAGE', $this->language->getLanguageIso());
|
||||
Configuration::updateGlobalValue('PS_SHOP_NAME', $data['shop_name']);
|
||||
Configuration::updateGlobalValue('PS_SHOP_ACTIVITY', $data['shop_activity']);
|
||||
|
||||
@@ -434,6 +434,7 @@ if (empty($fail_result)) {
|
||||
Configuration::updateValue('PS_HIDE_OPTIMIZATION_TIPS', 0);
|
||||
Configuration::updateValue('PS_NEED_REBUILD_INDEX', 1);
|
||||
Configuration::updateValue('PS_VERSION_DB', _PS_INSTALL_VERSION_);
|
||||
Configuration::updateGlobalValue('QLO_VERSION_DB', _QLO_INSTALL_VERSION_);
|
||||
$result .= $warningExist ? '<action result="fail" error="34">'."\n" : '<action result="ok" error="">'."\n";
|
||||
$result .= $requests;
|
||||
$result .= '</action>'."\n";
|
||||
|
||||
Reference in New Issue
Block a user