. */ include_once __DIR__.'/../../core.php'; switch (filter('op')) { case 'update': $dbo->update('zz_oauth2', [ 'client_id' => post('client_id'), 'client_secret' => post('client_secret'), 'config' => post('config'), 'enabled' => post('enabled'), 'after_configuration' => base_path().'/index.php', ], ['id' => $id_record]); flash()->info(tr('Salvataggio completato!')); break; }