From 62a42a20630c5dfb4a677a42bbc3dd6c7cd203d2 Mon Sep 17 00:00:00 2001 From: Craig Andrews Date: Fri, 15 May 2020 11:23:20 -0400 Subject: Delay the feeds actualization start notice (#2974) * Delay the feeds actualization start notice Move the actualization start notice until after SIMPLEPIE_SYSLOG_ENABLED is defined. Fixes https://github.com/FreshRSS/FreshRSS/issues/2973 * Update app/actualize_script.php Co-authored-by: Alexandre Alapetite --- app/actualize_script.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'app/actualize_script.php') diff --git a/app/actualize_script.php b/app/actualize_script.php index f1b765929..e898d4a1d 100755 --- a/app/actualize_script.php +++ b/app/actualize_script.php @@ -22,7 +22,6 @@ ob_start(); echo 'Results: ', "\n"; //Buffered $begin_date = date_create('now'); -notice('FreshRSS starts feeds actualization at ' . $begin_date->format('c')); // Set the header params ($_GET) to call the FRSS application. $_GET['c'] = 'feed'; @@ -37,6 +36,8 @@ $system_conf = Minz_Configuration::get('system'); $system_conf->auth_type = 'none'; // avoid necessity to be logged in (not saved!) define('SIMPLEPIE_SYSLOG_ENABLED', $system_conf->simplepie_syslog_enabled); +notice('FreshRSS starting feeds actualization at ' . $begin_date->format('c')); + // make sure the PHP setup of the CLI environment is compatible with FreshRSS as well performRequirementCheck($system_conf->db['type']); -- cgit v1.2.3