From cf29ca19c029f6af8dc413f7001bd104ca17999d Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Thu, 14 Mar 2024 22:44:51 +0100 Subject: 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 --- app/install.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/install.php') 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; } -- cgit v1.2.3