X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=update.php;h=17eafe126675359e120034f52a7d7e0e19d75078;hb=07fd4f8d9d4f301f5ad88ff9e80f042fc3eb0c36;hp=96097c56ad2e3675921f564b86651a954fb9a60e;hpb=583f163f40852c8067708a0a69e38e9c27318179;p=tt-rss.git diff --git a/update.php b/update.php index 96097c56..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", @@ -35,6 +37,9 @@ "force-update", "gen-search-idx", "list-plugins", + "debug-feed:", + "force-refetch", + "force-rehash", "help"); foreach (PluginHost::getInstance()->get_commands() as $command => $data) { @@ -55,14 +60,13 @@