Skip to content

Instantly share code, notes, and snippets.

Last active January 12, 2023 02:32
What would you like to do?
* @copyright 2019 Mautic Contributors. All rights reserved
* @author Mautic
* @link
* @license GNU/GPLv3
// load basic Mautic security
include_once 'security.php';
// disable upgrade notification
$container->setParameter('', true);
// hide Identify visitor by device fingerprint and Identify visitors by IP options
$myCutomRestrictedConfigFields = ['track_by_fingerprint', 'track_contact_by_ip'];
$restrictedConfigFields = array_merge($restrictedConfigFields, $myCutomRestrictedConfigFields);
$container->setParameter('', $restrictedConfigFields);
Copy link

kuzmany commented Oct 27, 2019

How to hide settings from configurations in Mautic?

Disable upgrade notification in Mautic

Check also blog post:

Do you wanna disable this notification in Mautic?

How to disable it?

  1. Copy security_local.php to app/config/
  2. Clear cache (remove app/cache/prod/ directory)

How to upgrade Mautic?

Suport Mautic Extensions:

Copy link

this method works perfectly. thanks!

Copy link

I can't find the path app/cache/prod/ directory, And the notification is also not yet disabled yet

Copy link

cipulan commented Jan 12, 2023

Thanks it worked

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment