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