aboutsummaryrefslogtreecommitdiff
path: root/cli/do-install.php
diff options
context:
space:
mode:
Diffstat (limited to 'cli/do-install.php')
-rwxr-xr-xcli/do-install.php8
1 files changed, 8 insertions, 0 deletions
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])) {