Skip to content

Instantly share code, notes, and snippets.

@kuzmany kuzmany/security_local.php

Last active Feb 16, 2020
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);

This comment has been minimized.

Copy link
Owner Author

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:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.