mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-03-30 04:01:33 -04:00
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
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user