From f89819bd64bb5ada706f9b85abd6f7b600a95786 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Mon, 23 May 2022 14:03:19 +0200 Subject: Custom logo HTML (#4369) * Custom logo HTML Add option for custom HTML logo/title in the main Web UI view. Can potentially be different per user. #fix https://github.com/FreshRSS/FreshRSS/pull/3830/files#r850472247 * logo_html in main config With new `./data/config.custom.php` to provide custom values before install * Docker documentation * whitespace * Auto relax CSP to allow images for HTML logo * Documentation --- cli/do-install.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'cli/do-install.php') diff --git a/cli/do-install.php b/cli/do-install.php index 296b2bd31..db1af8ea5 100755 --- a/cli/do-install.php +++ b/cli/do-install.php @@ -46,6 +46,14 @@ $config = array( 'db' => FreshRSS_Context::$system_conf->db, ); +$customConfigPath = DATA_PATH . '/config.custom.php'; +if (file_exists($customConfigPath)) { + $customConfig = include($customConfigPath); + if (is_array($customConfig)) { + $config = array_merge($customConfig, $config); + } +} + foreach ($params as $param) { $param = rtrim($param, ':'); if (isset($options[$param])) { -- cgit v1.2.3