show failue as nice red message

This commit is contained in:
Ante de Baas
2020-05-29 15:29:53 +02:00
parent 498ff15e98
commit cb1df3a7e0

View File

@@ -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');