mirror of
https://github.com/vrana/adminer.git
synced 2025-08-10 08:34:20 +02:00
Fix typos
@@ -4,12 +4,12 @@ It is possible to compile a specific version of Adminer with only one translatio
|
|||||||
Usage: php compile.php [editor] [driver] [lang]
|
Usage: php compile.php [editor] [driver] [lang]
|
||||||
Purpose: Compile adminer[-driver][-lang].php or editor[-driver][-lang].php.
|
Purpose: Compile adminer[-driver][-lang].php or editor[-driver][-lang].php.
|
||||||
```
|
```
|
||||||
So by adding files and/or pieces of code to the Adminer sources before the compilation, it's possible to **compiled a custom version of Adminer**.
|
So by adding files and/or pieces of code to the Adminer sources before the compilation, it's possible to **compile a custom version of Adminer**.
|
||||||
|
|
||||||
## `compile.sh`
|
## `compile.sh`
|
||||||
|
|
||||||
### Add plugin(s)
|
### Add plugin(s)
|
||||||
The [`compile.sh`](https://github.com/FrancoisCapon/LoginToASqlite3DatabaseWithoutCredentialsWithAdminer/blob/master/compile.sh) from the [LoginToASqlite3DatabaseWithoutCredentialsWithAdminer](https://github.com/FrancoisCapon/LoginToASqlite3DatabaseWithoutCredentialsWithAdminer) repository is written to embedded this plugin but it can be easily modified to embedded any other plugin(s) in a dedicated version of Adminer:
|
The [`compile.sh`](https://github.com/FrancoisCapon/LoginToASqlite3DatabaseWithoutCredentialsWithAdminer/blob/master/compile.sh) from the [LoginToASqlite3DatabaseWithoutCredentialsWithAdminer](https://github.com/FrancoisCapon/LoginToASqlite3DatabaseWithoutCredentialsWithAdminer) repository is written to embed this plugin but it can be easily modified to embedded any other plugin(s) in a dedicated version of Adminer:
|
||||||
```bash
|
```bash
|
||||||
echo -e "\n$step. Load plugin's sources:\n"
|
echo -e "\n$step. Load plugin's sources:\n"
|
||||||
((step+=1))
|
((step+=1))
|
||||||
@@ -27,7 +27,7 @@ EOPHP
|
|||||||
```
|
```
|
||||||
|
|
||||||
### Add Adminer design
|
### Add Adminer design
|
||||||
The script can also embedded design:
|
The script can also embed design:
|
||||||
```bash
|
```bash
|
||||||
design=$2
|
design=$2
|
||||||
echo -e "\n$step. Set the design: $design\n"
|
echo -e "\n$step. Set the design: $design\n"
|
||||||
@@ -35,8 +35,3 @@ echo -e "\n$step. Set the design: $design\n"
|
|||||||
cp $CSS_FILE $CSS_FILE.backup
|
cp $CSS_FILE $CSS_FILE.backup
|
||||||
cat $CSS_FILE.backup $DESIGNS_DIR/$design/adminer.css > $CSS_FILE
|
cat $CSS_FILE.backup $DESIGNS_DIR/$design/adminer.css > $CSS_FILE
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user