diff --git a/web/app/Console/Commands/RunRepair.php b/web/app/Console/Commands/RunRepair.php index a469358..7a2cf05 100644 --- a/web/app/Console/Commands/RunRepair.php +++ b/web/app/Console/Commands/RunRepair.php @@ -94,6 +94,12 @@ class RunRepair extends Command if ($ssoContent) { file_put_contents('/usr/share/phpmyadmin/phyre-sso.php', $ssoContent); } + + $configContent = file_get_contents('/usr/local/phyre/web/server/phpmyadmin/config.inc.php.dist'); + if ($configContent) { + file_put_contents('/usr/share/phpmyadmin/config.inc.php', $configContent); + } + $sessionDir = '/usr/local/phyre/data/sessions'; if (!is_dir($sessionDir)) { shell_exec('mkdir -p ' . $sessionDir);