Skip to content

Adding option for custom themes in Environment variables #435

Description

@devJeikh

Hello,

I've been trying to add custom themes as default.
By adding 'PMA_THEMEDEFAULT', to the $vars in config.inc.php and adding the code below to the bottom of this config file.

/* Configure custom themes as default */
if (isset($_ENV['PMA_THEMEDEFAULT'])){
    $cfg['ThemeDefault'] = $_ENV['PMA_THEMEDEFAULT'];
}

This made possible to create an ENV option like: - PMA_THEMEDEFAULT=blueberry to a docker compose file.
I think more people are looking for this option. Is it possible to add this to the main configuration?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions