Skip to content

Instantly share code, notes, and snippets.

@hissy
Last active August 15, 2018 17:11
Show Gist options
  • Save hissy/a73142bef8c0172a1673 to your computer and use it in GitHub Desktop.
Save hissy/a73142bef8c0172a1673 to your computer and use it in GitHub Desktop.
#Mautic How to show error message
  1. open a plain text file, add the following lines, and save:
    Filename: custom_offline.php
  2. upload the file to your mautic root.
  3. if you can check out the error message, please remove custom_offline.php for your security.
<?php
defined('MAUTIC_OFFLINE') or die('access denied');
if ($e instanceof Exception) {
echo $e->getMessage();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment