1
0
mirror of https://github.com/tommytran732/Pterodactyl-Script synced 2024-11-22 10:31:34 -05:00

Update install.sh

This commit is contained in:
Tommy 2021-11-02 05:36:15 -04:00 committed by GitHub
parent 0bc617d5bb
commit b27d59f4aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -753,7 +753,7 @@ install_phpmyadmin(){
\$cfg['CaptchaLoginPrivateKey'] = '6LcJcjwUAAAAALOcDJqAEYKTDhwELCkzUkNDQ0J5'
?>
EOF
chown -R nginx:nginx /var/www/pterodactyl
chown -R nginx:nginx /var/www/pterodactyl
if [ "$lsb_dist" = "ubuntu" ] || [ "$lsb_dist" = "debian" ]; then
bash -c 'cat > /etc/phpmyadmin/config.inc.php' <<EOF
<?php
@ -778,7 +778,7 @@ EOF
\$cfg['CaptchaLoginPrivateKey'] = '6LcJcjwUAAAAALOcDJqAEYKTDhwELCkzUkNDQ0J5'
?>
EOF
chown -R www-data:www-data /var/www/pterodactyl
chown -R www-data:www-data /var/www/pterodactyl
fi
}