diff options
| author | 2021-02-05 22:21:31 +0100 | |
|---|---|---|
| committer | 2021-02-05 22:21:31 +0100 | |
| commit | d42b4c299c7400d728a7a6eeeabe6f0f4ac3f169 (patch) | |
| tree | 2eb872bac1bb82f1eb8bb3070ce00169cba31e81 /app/actualize_script.php | |
| parent | 934f032c19ba0ae16a4d19702c8e95c377f64c14 (diff) | |
Add requirements check in CLI (#3410)
* Add requirements check in CLI
#fix https://github.com/FreshRSS/FreshRSS/issues/1853
* More checks
#fix https://github.com/FreshRSS/FreshRSS/issues/1853
Diffstat (limited to 'app/actualize_script.php')
| -rwxr-xr-x | app/actualize_script.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/actualize_script.php b/app/actualize_script.php index 8bbc45e41..7df84b805 100755 --- a/app/actualize_script.php +++ b/app/actualize_script.php @@ -19,7 +19,6 @@ function notice($message) { session_cache_limiter(''); ob_implicit_flush(false); ob_start(); -echo 'Results: ', "\n"; //Buffered $begin_date = date_create('now'); @@ -39,7 +38,11 @@ define('SIMPLEPIE_SYSLOG_ENABLED', FreshRSS_Context::$system_conf->simplepie_sys 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 +echo 'Failed requirements!', "\n"; performRequirementCheck(FreshRSS_Context::$system_conf->db['type']); +ob_clean(); + +echo 'Results: ', "\n"; //Buffered // Create the list of users to actualize. // Users are processed in a random order but always start with default user |
