}
    if (strpos($request, site_url() . '/crontab/hora/') !== false) {
        ControllerCrontab::hora();
    }
    die;
}
// Aunteticar?
if ($_POST && $_POST['controller'] == 'pessoa') {
    //    var_dump($_POST);
    if ($_POST['action'] == 'autenticar') {
        ControllerPessoas::autenticar();
    }
    if ($_POST['action'] == 'recuperar-senha') {
        ControllerPessoas::recuperarSenha();
    }
    if ($_POST['action'] == 'atualizar-perfil') {
        ControllerPessoas::atualizarPerfil();
    }
}
if (isset($_GET['logout'])) {
    ControllerPessoas::logout();
}
// Recebendo uma notificação de um gateway?
if (isset($_GET['notificacao_gateway']) && isset($_GET['id_integracao'])) {
    ControllerInscricoes::processarNotificacao($_GET['id_integracao'], PLib::coalesce($_POST['notificationCode'], $_GET['notificationCode']));
    exit;
}
if ($_GET['page'] == 'Eventos' && $_GET['id'] != null) {
    set_the_evento(Eventos::getInstance()->getById($_GET['id']));
}
validarPlugin();