diff options
| author | 2019-01-26 16:03:29 +0100 | |
|---|---|---|
| committer | 2019-01-26 16:03:29 +0100 | |
| commit | 8dcdde6251ae4dfc690b1a014488df125c5e5cdc (patch) | |
| tree | f5762ac9c76acf708a50534f081e558489ccad86 /cli | |
| parent | f0a359619fa2936d66a2b96dd086d4686e7405fa (diff) | |
| parent | 38e8e265e0f2ead830aa12e7ef81de12599405b5 (diff) | |
Merge pull request #2220 from FreshRSS/dev1.13.1
FreshRSS 1.13.1
Diffstat (limited to 'cli')
| -rw-r--r-- | cli/_cli.php | 2 | ||||
| -rwxr-xr-x | cli/export-opml-for-user.php | 2 | ||||
| -rwxr-xr-x | cli/export-zip-for-user.php | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/cli/_cli.php b/cli/_cli.php index 72629171c..e8fb6ae42 100644 --- a/cli/_cli.php +++ b/cli/_cli.php @@ -4,7 +4,7 @@ if (php_sapi_name() !== 'cli') { } require(__DIR__ . '/../constants.php'); -require(LIB_PATH . '/lib_rss.php'); +require(LIB_PATH . '/lib_rss.php'); //Includes class autoloader require(LIB_PATH . '/lib_install.php'); Minz_Configuration::register('system', diff --git a/cli/export-opml-for-user.php b/cli/export-opml-for-user.php index fd0993c35..076cffe74 100755 --- a/cli/export-opml-for-user.php +++ b/cli/export-opml-for-user.php @@ -17,7 +17,7 @@ fwrite(STDERR, 'FreshRSS exporting OPML for user “' . $username . "”…\n"); $importController = new FreshRSS_importExport_Controller(); $ok = false; -$ok = $importController->exportFile(true, false, array(), 0, $username); +$ok = $importController->exportFile(true, false, false, array(), 0, $username); invalidateHttpCache($username); diff --git a/cli/export-zip-for-user.php b/cli/export-zip-for-user.php index 916ecbb45..86113d9fa 100755 --- a/cli/export-zip-for-user.php +++ b/cli/export-zip-for-user.php @@ -19,7 +19,7 @@ $importController = new FreshRSS_importExport_Controller(); $ok = false; try { - $ok = $importController->exportFile(true, true, true, + $ok = $importController->exportFile(true, true, true, true, empty($options['max-feed-entries']) ? 100 : intval($options['max-feed-entries']), $username); } catch (FreshRSS_ZipMissing_Exception $zme) { |
