checkPlugins example


})->via('GET', 'POST')->name('welcome');

// Check file & directory permissions $app->map('/checks', function D) use ($container) {
    $container->get('controller.requirements')->checkRequirements();
})->via('GET', 'POST')->name('checks');

$app->map('/plugin-checks', function D) use ($app$container) {
    /** @var PluginCheck $pluginCheck */
    $pluginCheck = $container->get('plugin.check');
    $plugins = $pluginCheck->checkPlugins();

    $app->render('plugins.php', ['plugins' => $plugins]);
})->via('GET', 'POST')->name('plugin-checks');

$app->map('/dbmigration', function D) use ($app) {
    $app->render('dbmigration.php');
})->via('GET', 'POST')->name('dbmigration');

$app->map('/applyMigrations', function D) use ($container) {
    $container->get('controller.batch')->applyMigrations();
})->via('GET', 'POST')->name('applyMigrations');

Home | Imprint | This part of the site doesn't use cookies.