Skip to content

Instantly share code, notes, and snippets.

ChgoChad

Block or report user

Report or block ChgoChad

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ChgoChad
ChgoChad / commands.php
Last active Jun 22, 2019 — forked from escopecz/commands.php
Script to run Mautic (https://mautic.org) commands from a URL.
View commands.php
<?php
if (!isset($_GET['ILoveMautic'])) {
echo 'The secret phrase is wrong.';
die;
}
$link = "https://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
$allowedTasks = array(
'cache:clear',
You can’t perform that action at this time.