Investigate if we have a way to programmatically update settings.php

Created on 5 March 2019, over 5 years ago
Updated 24 January 2024, 10 months ago

This would enable us to provide a UI for storing credentials as settings.

Feature request
Status

Active

Version

3.0

Component

Code

Created by

🇳🇱Netherlands ricovandevin

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇧🇪Belgium dieterholvoet Brussels

    That wouldn't be good practice. Just store values in config as any other module, if people want to override stuff in settings.php they still can:

    $config['mollie.settings']['live_key'] = $_ENV['MOLLIE_LIVE_KEY'] ?? '';
    

    Or they can use the Key module to store sensitive config values elsewhere.

Production build 0.71.5 2024