Skip to content

Commit 03c0901

Browse files
committed
Fixing adminer.
1 parent fbefe9f commit 03c0901

File tree

6 files changed

+12342
-56
lines changed

6 files changed

+12342
-56
lines changed

build-adminer

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/bin/bash
2+
3+
if [ ! -d vendor/vrana/adminer ]; then
4+
echo "Please run 'composer install' first."
5+
exit 1
6+
fi
7+
8+
cd www/adminer || exit 1
9+
php ../../vendor/vrana/adminer/compile.php || exit 2
10+
git add adminer-*.php
11+
12+
echo "There are following adminer version built:"
13+
ls -1 adminer-*.php
14+
echo "Consider removing old versions and do not forget to commit the changes."

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
"php": ">=8.2",
3030
"bjeavons/zxcvbn-php": "^1.4",
3131
"contributte/console": "^0.10.0",
32-
"dg/adminer-custom": "^3.3",
3332
"firebase/php-jwt": "^6.11",
3433
"forxer/gravatar": "^5.0",
3534
"guzzlehttp/guzzle": "^7.10",
@@ -70,7 +69,8 @@
7069
"mikey179/vfsstream": "@stable",
7170
"nette/tester": "^2.4",
7271
"phpstan/phpstan": "^2.1",
73-
"phpstan/phpstan-nette": "^2.0"
72+
"phpstan/phpstan-nette": "^2.0",
73+
"vrana/adminer": "^5.4"
7474
},
7575
"minimum-stability": "dev",
7676
"prefer-stable": true

composer.lock

Lines changed: 71 additions & 39 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)