aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Craig Andrews <candrews@integralblue.com> 2020-05-15 11:23:20 -0400
committerGravatar GitHub <noreply@github.com> 2020-05-15 17:23:20 +0200
commit62a42a20630c5dfb4a677a42bbc3dd6c7cd203d2 (patch)
treef7118ce9f2143f062b305b4507432e7f5c8beeb9
parent11dd6e91b780bc218ecac540e1e9a8c426337930 (diff)
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 <alexandre@alapetite.fr>
-rwxr-xr-xapp/actualize_script.php3
1 files changed, 2 insertions, 1 deletions
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']);