Upload via GUI (346 Dateien)

This commit is contained in:
2026-10-28 07:54:52 +00:00
parent f3ba8c20b1
commit a86036c657
7 changed files with 259 additions and 3 deletions
@@ -41,6 +41,7 @@ $zip->close();
$r = plugin_install_zip($pdo, $zipPath);
$check($r['ok'] && $r['slug'] === 'nas-backup', 'Plugin lässt sich installieren: ' . json_encode($r));
$check(plugin_set_active($pdo, 'nas-backup', true, ['hooks.cron', 'ui.menu'])['ok'], 'Plugin lässt sich mit bestätigten Berechtigungen aktivieren');
$GLOBALS['nasbk_sync'] = true; // Seitenaktionen laufen sonst erst nach dem Senden der Antwort; der Test braucht das Ergebnis sofort
$state = &plugin_state();
$state['booted'] = false;
plugins_boot();