initial
This commit is contained in:
commit
d7ffb7a30a
6 changed files with 2730 additions and 0 deletions
17
index.php
Normal file
17
index.php
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
<?php
|
||||
|
||||
function adminer_object() {
|
||||
include_once "./plugin.php";
|
||||
$plugins = array();
|
||||
|
||||
foreach (glob("plugins/*.php") as $filename) {
|
||||
include_once "./$filename";
|
||||
$plugin = str_replace('plugins/', '', $filename);
|
||||
$plugin = str_replace('.php', '', $plugin);
|
||||
$plugins[] = new $plugin();
|
||||
}
|
||||
|
||||
return new AdminerPlugin($plugins);
|
||||
}
|
||||
|
||||
include "./adminer.php";
|
||||
Loading…
Add table
Add a link
Reference in a new issue