Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding option for custom themes in Environment variables #435

Open
ymederuiter opened this issue Mar 19, 2024 · 0 comments
Open

Adding option for custom themes in Environment variables #435

ymederuiter opened this issue Mar 19, 2024 · 0 comments

Comments

@ymederuiter
Copy link

ymederuiter commented Mar 19, 2024

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?

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

No branches or pull requests

2 participants