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:
@@ -2049,7 +2049,11 @@ class AdminThemesControllerCore extends AdminController
|
||||
*/
|
||||
private function getNativeModule($type = 0)
|
||||
{
|
||||
$xml = false;
|
||||
$protocols = array('https://', 'http://');
|
||||
if (defined('_QLO_DISABLE_PHONE_HOME_') && _QLO_DISABLE_PHONE_HOME_) {
|
||||
$protocols = array();
|
||||
}
|
||||
foreach ($protocols as $protocol) {
|
||||
if($xml = @simplexml_load_string(Tools::file_get_contents($protocol._QLO_API_DOMAIN_.'/xml/'.str_replace('.', '', _QLOAPPS_VERSION_).'.xml'))) {
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user