1. Martin Macko
  2. Adminer Allowed Prefixes Plugin

Source

Adminer Allowed Prefixes Plugin /

Filename Size Date modified Message
574 B
2.2 KB

Adminer Allowed Prefixes Plugin

Plugin for Adminer that shows only tables with user set prefixes in the left menu

When initializing the plugin use this format for a parameter:

array("server_name" => array("database_name" => array("prefix")))

e.g.

new AdminerAllowedPrefixes(
            array(
                "sql.server.com" => array(
                    "database1" => array("PREFIX1", "PREFIX2")
                ),
                "sql2.server.com" => array(
                    "database2" => array("PREFIX3", "PREFIX4")
                )
            )
        ),