Fix init in CLI install (#3544)

#fix https://github.com/FreshRSS/FreshRSS/issues/3528
config was not properly reloaded after being populated
pull/3545/head
Alexandre Alapetite 4 years ago committed by GitHub
parent 789a166496
commit a62d6288b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/install.php
  2. 2
      cli/do-install.php

@ -152,7 +152,7 @@ function saveStep2() {
opcache_reset(); opcache_reset();
} }
FreshRSS_Context::initSystem(); FreshRSS_Context::initSystem(true);
$ok = false; $ok = false;
try { try {

@ -86,7 +86,7 @@ if (function_exists('opcache_reset')) {
opcache_reset(); opcache_reset();
} }
FreshRSS_Context::initSystem(); FreshRSS_Context::initSystem(true);
Minz_Session::_param('currentUser', '_'); //Default user Minz_Session::_param('currentUser', '_'); //Default user

Loading…
Cancel
Save