Ajout du nouveau système de console

This commit is contained in:
OsaAjani 2016-01-23 00:11:19 +01:00
parent 063f0c97a3
commit bdd7b3dccc
9 changed files with 480 additions and 103 deletions

View file

@ -108,7 +108,7 @@
return false;
}
$db->insertIntoTable('events', ['type' => 'WEBHOOKS_ADD', 'text' => 'Ajout webhook : ' . $type . ' => ' . $url]);
$db->insertIntoTable('events', ['type' => 'WEBHOOK_ADD', 'text' => 'Ajout webhook : ' . array_search($type, internalConstants::WEBHOOK_TYPE) . ' (' . $url . ')']);
$_SESSION['successmessage'] = 'Le webhook a bien été créé.';
header('Location: ' . $this->generateUrl('webhooks'));