mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-22 09:26:27 +02:00
Ajout du nouveau système de console
This commit is contained in:
parent
063f0c97a3
commit
bdd7b3dccc
9 changed files with 480 additions and 103 deletions
|
@ -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'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue