mirror of
https://github.com/tommytran732/Pterodactyl-Script
synced 2024-11-22 10:31:34 -05:00
Fixes for phpMyAdmin configuration
This commit is contained in:
parent
243293dcf1
commit
18ff77d725
@ -755,7 +755,10 @@ install_phpmyadmin(){
|
||||
\$cfg['CaptchaLoginPrivateKey'] = '6LcJcjwUAAAAALOcDJqAEYKTDhwELCkzUkNDQ0J5'
|
||||
?>
|
||||
EOF
|
||||
chmod 755 /etc/phpMyAdmin
|
||||
chmod 644 /etc/phpMyAdmin/config.inc.php
|
||||
chown -R nginx:nginx /var/www/pterodactyl
|
||||
chown -R nginx:nginx /var/lib/phpMyAdmin/temp
|
||||
if [ "$lsb_dist" = "ubuntu" ] || [ "$lsb_dist" = "debian" ]; then
|
||||
bash -c 'cat > /etc/phpmyadmin/config.inc.php' <<EOF
|
||||
<?php
|
||||
@ -780,7 +783,10 @@ EOF
|
||||
\$cfg['CaptchaLoginPrivateKey'] = '6LcJcjwUAAAAALOcDJqAEYKTDhwELCkzUkNDQ0J5'
|
||||
?>
|
||||
EOF
|
||||
chmod 755 /etc/phpmyadmin
|
||||
chmod 644 /etc/phpmyadmin/config.inc.php
|
||||
chown -R www-data:www-data /var/www/pterodactyl
|
||||
chown -R www-data:www-data /var/lib/phpmyadmin/temp
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user