Files
tomolino-processmaker/front/config.form.php
2023-10-16 14:15:32 +02:00

22 lines
511 B
PHP

<?php
include ( "../../../inc/includes.php");
$config = new PluginProcessmakerConfig();
if (isset($_POST["update"])) {
$config->check($_POST['id'], UPDATE);
// save
$config->update($_POST);
Html::back();
} else if (isset($_POST["refresh"])) {
$config->refresh($_POST); // used to refresh process list, task category list
Html::back();
}
Html::redirect($CFG_GLPI["root_doc"]."/front/config.form.php?forcetab=".
urlencode('PluginProcessmakerConfig$1'));