All we are good know Prestashop ratting out our action to French server.
Prestashop know about all sites with nulled modules and themes
How to be hidden for PrestaTrust!
P.S.
if you will update prestashop repeat step 2-5
Prestashop know about all sites with nulled modules and themes
How to be hidden for PrestaTrust!
1. Never to login to PtrstaAddons in BackOffice
2. Edit file /app/config/config.yml
find linereplace tobase_url: "https://api-addons.prestashop.com"
find linebase_url: "127.0.01"
replace toprestatrust:
enabled: true
After this step you can not download modules from prestamarket in backoffice. Install necessary free module before edit file(viewed product, cash on delivery, cronjob, comments, other).prestatrust:
enabled: false
3. Edit file \src\Adapter\Module\PrestaTrust\PrestaTrustChecker.php
find functionreplace toprotected function isCompliant(Module $module)
{
if (!$module->attributes->has('author_address')) {
return false;
}
$address = $module->attributes->get('author_address');
// Always ensure 0x prefix.
// Address should be 20bytes=40 HEX-chars + prefix.
if (!self::hasHexPrefix($address) || strlen($address) !== 42) {
return false;
}
if (!function_exists('ctype_xdigit') || !ctype_xdigit(substr($address, strlen('0x')))) {
return false;
}
return true;
}
protected function isCompliant(Module $module)
{
return false;
}
4. Edit file \src\Adapter\Module\PrestaTrust\ModuleEventSubscriber.php
find functionreplace topublic function onNewModule(ModuleZipManagementEvent $event)
{
if (!$this->enabled) {
return;
}
$this->checker->checkModuleZip($event->getModuleZip());
}
public function onNewModule(ModuleZipManagementEvent $event)
{
return;
}
5. Clear cache in backoffice
P.S.
if you will update prestashop repeat step 2-5