X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;ds=sidebyside;f=update.php;h=17eafe126675359e120034f52a7d7e0e19d75078;hb=07fd4f8d9d4f301f5ad88ff9e80f042fc3eb0c36;hp=821d25bce27c5262d65cdfddd62adea65b88e24c;hpb=17a8e61d2ae9e938aaf60292666b6ccf5cb09067;p=tt-rss.git diff --git a/update.php b/update.php index 821d25bc..17eafe12 100755 --- a/update.php +++ b/update.php @@ -9,7 +9,6 @@ require_once "autoload.php"; require_once "functions.php"; - require_once "rssfuncs.php"; require_once "config.php"; require_once "sanity_check.php"; require_once "db.php"; @@ -18,6 +17,8 @@ if (!defined('PHP_EXECUTABLE')) define('PHP_EXECUTABLE', '/usr/bin/php'); + $pdo = Db::pdo(); + init_plugins(); $longopts = array("feeds", @@ -28,6 +29,7 @@ "cleanup-tags", "quiet", "log:", + "log-level:", "indexes", "pidlock:", "update-schema", @@ -38,7 +40,6 @@ "debug-feed:", "force-refetch", "force-rehash", - "decrypt-feeds", "help"); foreach (PluginHost::getInstance()->get_commands() as $command => $data) { @@ -59,14 +60,13 @@