summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2021-03-20 18:25:55 +0100
committerGravatar GitHub <noreply@github.com> 2021-03-20 18:25:55 +0100
commita62d6288b17be77a686bb5288ab49931c51aaeef (patch)
tree2a32bcafb21c61233923bd61d7d25504103c37b5
parent789a1664960da1b6287e3bb815d64e0d0fa8ef95 (diff)
Fix init in CLI install (#3544)
#fix https://github.com/FreshRSS/FreshRSS/issues/3528 config was not properly reloaded after being populated
-rw-r--r--app/install.php2
-rwxr-xr-xcli/do-install.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/install.php b/app/install.php
index 1eb952286..b7b309e1a 100644
--- a/app/install.php
+++ b/app/install.php
@@ -152,7 +152,7 @@ function saveStep2() {
opcache_reset();
}
- FreshRSS_Context::initSystem();
+ FreshRSS_Context::initSystem(true);
$ok = false;
try {
diff --git a/cli/do-install.php b/cli/do-install.php
index 258b5b688..4d76b9acb 100755
--- a/cli/do-install.php
+++ b/cli/do-install.php
@@ -86,7 +86,7 @@ if (function_exists('opcache_reset')) {
opcache_reset();
}
-FreshRSS_Context::initSystem();
+FreshRSS_Context::initSystem(true);
Minz_Session::_param('currentUser', '_'); //Default user