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
0bc617d5bb
commit
b27d59f4aa
@ -753,7 +753,7 @@ install_phpmyadmin(){
|
|||||||
\$cfg['CaptchaLoginPrivateKey'] = '6LcJcjwUAAAAALOcDJqAEYKTDhwELCkzUkNDQ0J5'
|
\$cfg['CaptchaLoginPrivateKey'] = '6LcJcjwUAAAAALOcDJqAEYKTDhwELCkzUkNDQ0J5'
|
||||||
?>
|
?>
|
||||||
EOF
|
EOF
|
||||||
chown -R nginx:nginx /var/www/pterodactyl
|
chown -R nginx:nginx /var/www/pterodactyl
|
||||||
if [ "$lsb_dist" = "ubuntu" ] || [ "$lsb_dist" = "debian" ]; then
|
if [ "$lsb_dist" = "ubuntu" ] || [ "$lsb_dist" = "debian" ]; then
|
||||||
bash -c 'cat > /etc/phpmyadmin/config.inc.php' <<EOF
|
bash -c 'cat > /etc/phpmyadmin/config.inc.php' <<EOF
|
||||||
<?php
|
<?php
|
||||||
@ -778,7 +778,7 @@ EOF
|
|||||||
\$cfg['CaptchaLoginPrivateKey'] = '6LcJcjwUAAAAALOcDJqAEYKTDhwELCkzUkNDQ0J5'
|
\$cfg['CaptchaLoginPrivateKey'] = '6LcJcjwUAAAAALOcDJqAEYKTDhwELCkzUkNDQ0J5'
|
||||||
?>
|
?>
|
||||||
EOF
|
EOF
|
||||||
chown -R www-data:www-data /var/www/pterodactyl
|
chown -R www-data:www-data /var/www/pterodactyl
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user