aboutsummaryrefslogtreecommitdiff
path: root/cli/_update-or-create-user.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2021-02-05 22:21:31 +0100
committerGravatar GitHub <noreply@github.com> 2021-02-05 22:21:31 +0100
commitd42b4c299c7400d728a7a6eeeabe6f0f4ac3f169 (patch)
tree2eb872bac1bb82f1eb8bb3070ce00169cba31e81 /cli/_update-or-create-user.php
parent934f032c19ba0ae16a4d19702c8e95c377f64c14 (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 'cli/_update-or-create-user.php')
-rw-r--r--cli/_update-or-create-user.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/_update-or-create-user.php b/cli/_update-or-create-user.php
index 2b01fd011..9ccc0dce8 100644
--- a/cli/_update-or-create-user.php
+++ b/cli/_update-or-create-user.php
@@ -1,6 +1,8 @@
<?php
require(__DIR__ . '/_cli.php');
+performRequirementCheck(FreshRSS_Context::$system_conf->db['type']);
+
$params = array(
'user:',
'password:',