From 189118770c98f1783c0846e43649503a38254725 Mon Sep 17 00:00:00 2001 From: Arnaud Lier Date: Sun, 12 May 2024 13:29:08 +0000 Subject: [PATCH] Update Installing Automatic phpMyAdmin for Pterodactyl --- Installing-Automatic-phpMyAdmin-for-Pterodactyl.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Installing-Automatic-phpMyAdmin-for-Pterodactyl.md b/Installing-Automatic-phpMyAdmin-for-Pterodactyl.md index 7bf9ff6..e857ed6 100644 --- a/Installing-Automatic-phpMyAdmin-for-Pterodactyl.md +++ b/Installing-Automatic-phpMyAdmin-for-Pterodactyl.md @@ -44,7 +44,7 @@ sudo dnf install -y nodejs yarn ## Installing dependencies -In your SSH terminal, run these commands : +In your SSH terminal, run these commands: ```shell npm i -g yarn cd /var/www/pterodactyl @@ -58,7 +58,7 @@ Follow the `PanelEdit_EN.md` or the `PanelEdit_FR.md` file contained in the ZIP # Installing phpMyAdmin side Like Pterodactyl side, upload all the files of the folder `phpmyadmin` of the ZIP that you have downloaded in the folder of your phpMyAdmin installation. Then, you will need to modify configuration for the host in `config.inc.php` by adding these lines: -```PHP +```php $cfg['Servers'][$i]['auth_type'] = 'signon'; $cfg['Servers'][$i]['SignonSession'] = 'TokenSession'; $cfg['Servers'][$i]['SignonURL'] = 'token.php'; @@ -66,7 +66,7 @@ $cfg['Servers'][$i]['LogoutURL'] = 'token-logout.php'; ``` A server configuration should now look like this for example: -```PHP +```php $i++; $cfg['Servers'][$i]['verbose'] = 'example'; $cfg['Servers'][$i]['connect_type'] = 'tcp';