mirror of
https://github.com/vrana/adminer.git
synced 2025-08-15 11:04:02 +02:00
Updated Compile Adminer with Plugin(s) and Design (markdown)
@@ -13,12 +13,12 @@ The [`compile.sh`](https://github.com/FrancoisCapon/LoginToASqlite3DatabaseWitho
|
||||
```bash
|
||||
echo -e "\n$step. Load plugin's sources:\n"
|
||||
((step+=1))
|
||||
wget -P adminer/plugins/ https://raw.githubusercontent.com/.../master/plugin.php
|
||||
wget -P adminer/plugins/ https://raw.githubusercontent.com/.../master/the-plugin.php
|
||||
echo -e "\n$step. Adding the plugin to the sources\n"
|
||||
((step+=1))
|
||||
cat << "EOPHP" >> adminer/adminer/include/bootstrap.inc.php
|
||||
include "../plugins/plugin.php";
|
||||
include "../plugins/fc-sqlite-connection-without-credentials.php";
|
||||
include "../plugins/the-plugin.php";
|
||||
function adminer_object() {
|
||||
$plugins = array(new FCSqliteConnectionWithoutCredentials());
|
||||
return new AdminerPlugin($plugins);
|
||||
|
Reference in New Issue
Block a user