Skip to content

Commit

Permalink
Rollback
Browse files Browse the repository at this point in the history
  • Loading branch information
willnode committed Aug 24, 2024
1 parent 4861e0b commit 9ec5d6f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tools-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ if [ ! -d "./phpmyadmin" ]; then
git clone https://github.com/phpmyadmin/phpmyadmin.git phpmyadmin --filter=tree:0 -b STABLE
cd ./phpmyadmin
composer install -o
npm install
npm run build
yarn install
yarn build
cp config.sample.inc.php config.inc.php
hash=`node -e "console.log(require('crypto').randomBytes(16).toString('hex'))"`
sed -ri "s/\['blowfish_secret'\] = '';/['blowfish_secret'] = '${hash}';/g" config.inc.php
Expand All @@ -14,8 +14,8 @@ else
cd ./phpmyadmin
git pull
composer install -o
npm install
npm run build
yarn install
yarn build
cd ..
fi
if [ ! -d "./phppgadmin" ]; then
Expand Down

0 comments on commit 9ec5d6f

Please sign in to comment.