aboutsummaryrefslogtreecommitdiff
path: root/app/install.php
diff options
context:
space:
mode:
authorGravatar Luc SANCHEZ <4697568+ColonelMoutarde@users.noreply.github.com> 2023-10-30 20:40:13 +0100
committerGravatar GitHub <noreply@github.com> 2023-10-30 20:40:13 +0100
commit4a02352ccc1b313ce967415c6ac10a32aba1893a (patch)
tree36bec23832a05acb930a5386d7eefb3535323a38 /app/install.php
parentd50bb386e7bc9ee9595338119edc4951d10c526a (diff)
applies several small optimizations (#5511)
declare(strict_types=1); Co-authored-by: Luc <sanchezluc+freshrss@gmail.com>
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 b42771fbb..a404f6f4d 100644
--- a/app/install.php
+++ b/app/install.php
@@ -290,7 +290,7 @@ function freshrss_already_installed(): bool {
$system_conf = null;
try {
$system_conf = FreshRSS_SystemConfiguration::init($conf_path);
- } catch (Minz_FileNotExistException $e) {
+ } catch (Minz_ConfigurationNamespaceException $e) {
return false;
}
@@ -298,7 +298,7 @@ function freshrss_already_installed(): bool {
$current_user = $system_conf->default_user;
try {
FreshRSS_UserConfiguration::init(USERS_PATH . '/' . $current_user . '/config.php');
- } catch (Minz_FileNotExistException $e) {
+ } catch (Minz_ConfigurationNamespaceException $e) {
return false;
}