X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=update.php;h=17eafe126675359e120034f52a7d7e0e19d75078;hb=08bee97858f374352357fbfd4969bf7ebf4c2f85;hp=821d25bce27c5262d65cdfddd62adea65b88e24c;hpb=f6bcb5c60687f6d8d57612057996852e144c8c61;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 @@