X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=prefs.php;h=cc62677981dfc30f2632bb19a69efda228c43928;hb=2c30a62e77688da34b7ce30832524e3a61af3508;hp=7a7d2842cc99f4dd2f9a0834768363a3891a7d97;hpb=404e2e3603c852a3f82a21c14b8888005e2b3f99;p=tt-rss.git diff --git a/prefs.php b/prefs.php index 7a7d2842..cc626779 100644 --- a/prefs.php +++ b/prefs.php @@ -20,11 +20,9 @@ require_once "config.php"; require_once "db-prefs.php"; - $link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME); + if (!init_plugins()) return; - if (!init_plugins($link)) return; - - login_sequence($link); + login_sequence(); header('Content-Type: text/html; charset=utf-8'); ?> @@ -34,29 +32,32 @@ Tiny Tiny RSS : <?php echo __("Preferences") ?> + + - - + - +