From cb1df3a7e04779a3d83593f34e8cb58021c2c94a Mon Sep 17 00:00:00 2001 From: Ante de Baas Date: Fri, 29 May 2020 15:29:53 +0200 Subject: [PATCH] show failue as nice red message --- install/lib/class.FroxlorInstall.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install/lib/class.FroxlorInstall.php b/install/lib/class.FroxlorInstall.php index f0ed0e53..25b2f814 100644 --- a/install/lib/class.FroxlorInstall.php +++ b/install/lib/class.FroxlorInstall.php @@ -511,7 +511,8 @@ class FroxlorInstall $this->_updateSetting($upd_stmt, $property->value[0], $property->group[0], $property->name[0]); } } else { - exit('Failed to open distribution XML file.'); + $content .= $this->_status_message('red', 'Failed setting distribution defaults.'); + return $content; } $this->_updateSetting($upd_stmt, $this->_data['activate_newsfeed'], 'admin', 'show_news_feed');