1
0
mirror of https://github.com/tommytran732/Pterodactyl-Script synced 2024-11-08 04:41:33 -05:00

Update install.sh

This commit is contained in:
OnHamzaYT 2021-06-16 20:10:37 +02:00 committed by GitHub
parent 13341f4190
commit 5e15c9a727
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1669,7 +1669,7 @@ install_phpmyadmin(){
rm -rf phpMyAdmin-${PHPMYADMIN}-all-languages.zip rm -rf phpMyAdmin-${PHPMYADMIN}-all-languages.zip
cd /var/www/pterodactyl/public/phpmyadmin cd /var/www/pterodactyl/public/phpmyadmin
SERVER_IP=$(curl -s http://checkip.amazonaws.com) SERVER_IP=$(dig +short myip.opendns.com @resolver1.opendns.com)
BOWFISH=`cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 34 | head -n 1` BOWFISH=`cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 34 | head -n 1`
bash -c 'cat > /var/www/pterodactyl/public/phpmyadmin/config.inc.php' <<EOF bash -c 'cat > /var/www/pterodactyl/public/phpmyadmin/config.inc.php' <<EOF
<?php <?php