Disable phone-home to api.qloapps.com

Add _QLO_DISABLE_PHONE_HOME_ (default true) and honour it in
Tools::addonsRequest(), Tools::refresh(), the installer notification and
the theme catalog fetch. This stops sending admin name/email, shop domain
and country on install, the daily upgrade check, the admin
"recommendation" HTML and module/theme catalog requests.
Language and localization pack downloads stay available.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
DanielS
2026-11-11 00:20:01 +01:00
parent e502b63f83
commit ec79686a7d
4 changed files with 24 additions and 0 deletions

View File

@@ -634,6 +634,11 @@ class InstallModelInstall extends InstallAbstractModel
*/
public function setNotification($installData)
{
// Do not send admin name, email, domain and country to api.qloapps.com
if (defined('_QLO_DISABLE_PHONE_HOME_') && _QLO_DISABLE_PHONE_HOME_) {
return true;
}
Tools::addonsRequest('installation', array(
'install_data' => $installData,
'version' => _QLO_INSTALL_VERSION_,