aboutsummaryrefslogtreecommitdiff
path: root/cli/_cli.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-10-23 13:37:48 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-10-23 13:37:48 +0200
commitfcb9280fc87c159539f5832ab35f174cd515654e (patch)
tree8fa0879f001c9cbc6120d2b0bbff364358871851 /cli/_cli.php
parent6d42acf5fd7906168c9e547c3d0ce675b8fd6fd2 (diff)
CLI export
ZIP export, OPML export. Corrected height of feeds select in Pafat theme. https://github.com/FreshRSS/FreshRSS/pull/1338 https://github.com/FreshRSS/FreshRSS/issues/1039 https://github.com/FreshRSS/FreshRSS/issues/1277
Diffstat (limited to 'cli/_cli.php')
-rw-r--r--cli/_cli.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/_cli.php b/cli/_cli.php
index d81d83d66..66506f07a 100644
--- a/cli/_cli.php
+++ b/cli/_cli.php
@@ -10,7 +10,7 @@ Minz_Configuration::register('system',
DATA_PATH . '/config.php',
DATA_PATH . '/config.default.php');
FreshRSS_Context::$system_conf = Minz_Configuration::get('system');
-Minz_Translate::init();
+Minz_Translate::init('en');
FreshRSS_Context::$isCli = true;
@@ -39,6 +39,6 @@ function cliInitUser($username) {
}
function done($ok) {
- echo 'Result: ', ($ok ? 'success' : 'fail'), ".\n";
+ fwrite(STDERR, 'Result: ' . ($ok ? 'success' : 'fail') . "\n");
exit($ok ? 0 : 1);
}