versione pre-stable

This commit is contained in:
mariano
2026-05-28 11:57:47 +02:00
parent 425f8cb5a4
commit c90506a25d
29 changed files with 166 additions and 1250 deletions
+1 -1
View File
@@ -3,7 +3,6 @@
declare(strict_types=1);
use GlpiPlugin\Urbackup\Config;
use Html;
global $CFG_GLPI;
@@ -14,6 +13,7 @@ if (!Session::haveRight('config', UPDATE)) {
// Handle form submission
if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['update'])) {
Session::checkCSRF();
Config::saveConfiguration($_POST);
Html::redirect($_SERVER['REQUEST_URI']);
}