mirror of
https://github.com/tommytran732/Pterodactyl-Script
synced 2024-11-09 05:01:33 -05:00
Update install.sh
This commit is contained in:
parent
2fb77607ba
commit
129e02c07c
@ -732,7 +732,7 @@ install_phpmyadmin(){
|
|||||||
rm -rf phpMyAdmin-${PHPMYADMIN}-all-languages.zip
|
rm -rf phpMyAdmin-${PHPMYADMIN}-all-languages.zip
|
||||||
fi
|
fi
|
||||||
cd /var/www/pterodactyl/public/phpmyadmin || exit
|
cd /var/www/pterodactyl/public/phpmyadmin || exit
|
||||||
SERVER_IP=$(dig +short myip.opendns.com @resolver1.opendns.com)
|
SERVER_IP=$(dig +short myip.opendns.com @resolver1.opendns.com -4)
|
||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user