Skip to content

Instantly share code, notes, and snippets.

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

troyanvic commented Feb 23, 2021

this method works perfectly. thanks!

Copy link

Heyram-EEE commented Mar 26, 2022

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

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