Skip to content

Commit

Permalink
Remove .inc extension from driver plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
vrana committed Feb 10, 2021
1 parent 29e2475 commit 3882bfa
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion adminer/plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function adminer_object() {
}

// enable extra drivers just by including them
//~ include "../plugins/drivers/simpledb.inc.php";
//~ include "../plugins/drivers/simpledb.php";

$plugins = array(
// specify enabled plugins here
Expand Down
2 changes: 1 addition & 1 deletion plugins/drivers/README
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Enable drivers in this directory like this:

<?php
function adminer_object() {
include "./plugins/drivers/simpledb.inc.php"; // the driver is enabled just by including
include "./plugins/drivers/simpledb.php"; // the driver is enabled just by including
return new Adminer; // or return AdminerPlugin if you want to use other plugins
}

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 3882bfa

Please sign in to comment.