mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 07:36:44 +02:00
Remove .inc extension from driver plugins
This commit is contained in:
@@ -9,7 +9,7 @@ function adminer_object() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// enable extra drivers just by including them
|
// enable extra drivers just by including them
|
||||||
//~ include "../plugins/drivers/simpledb.inc.php";
|
//~ include "../plugins/drivers/simpledb.php";
|
||||||
|
|
||||||
$plugins = array(
|
$plugins = array(
|
||||||
// specify enabled plugins here
|
// specify enabled plugins here
|
||||||
|
@@ -2,7 +2,7 @@ Enable drivers in this directory like this:
|
|||||||
|
|
||||||
<?php
|
<?php
|
||||||
function adminer_object() {
|
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
|
return new Adminer; // or return AdminerPlugin if you want to use other plugins
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user