Skip to content

Conversation

@jtojnar
Copy link

@jtojnar jtojnar commented Sep 7, 2023

When I enabled ADMINER_PLUGINS=login-servers and created plugins-enabled/login-servers.php as instructed in the plugin-loader error message, it would still try to create its own file in plugins-enabled, and then continue to complain, not noticing the file I added.

Let’s skip creating the file when a manually created one exists.

When I enabled `ADMINER_PLUGINS=login-servers` and created `plugins-enabled/login-servers.php` as instructed in the plugin-loader error message, it would still try to create its own file in plugins-enabled, and then continue to complain, not noticing the file I added.

Let’s skip creating the file when a manually created one exists.
Copy link

@Blasci Blasci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix plugins requires parameters

@danielrusso
Copy link

@TimWolla Can this be merged? It is currently impossible to use a plugin with parameters right now because the expected file always gets overwritten at start up (even if it already exists), then the container will exit since the file is empty. It appears this change adds a file exists check before attempting to create a new configuration file.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants