aboutsummaryrefslogtreecommitdiff
path: root/app/install.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2024-03-14 22:44:51 +0100
committerGravatar GitHub <noreply@github.com> 2024-03-14 22:44:51 +0100
commitcf29ca19c029f6af8dc413f7001bd104ca17999d (patch)
treef31ba3325271dfb9f445b3d68689df3f544deb5d /app/install.php
parentc0db581f2b8cf7bcf8aa43b5a51599a56544d864 (diff)
Fix crash during update of existing install (#6205)
fix https://github.com/FreshRSS/FreshRSS/issues/6204 Mess due to https://github.com/FreshRSS/FreshRSS/pull/5511
Diffstat (limited to 'app/install.php')
-rw-r--r--app/install.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/install.php b/app/install.php
index 3ad69c071..5a9d6730c 100644
--- a/app/install.php
+++ b/app/install.php
@@ -293,7 +293,7 @@ function freshrss_already_installed(): bool {
$system_conf = null;
try {
$system_conf = FreshRSS_SystemConfiguration::init($conf_path);
- } catch (Minz_ConfigurationNamespaceException $e) {
+ } catch (Minz_FileNotExistException $e) {
return false;
}
@@ -301,7 +301,7 @@ function freshrss_already_installed(): bool {
$current_user = $system_conf->default_user;
try {
FreshRSS_UserConfiguration::init(USERS_PATH . '/' . $current_user . '/config.php');
- } catch (Minz_ConfigurationNamespaceException $e) {
+ } catch (Minz_FileNotExistException $e) {
return false;
}