Skip to content

Commit

Permalink
Update RunRepair.php
Browse files Browse the repository at this point in the history
  • Loading branch information
bobimicroweber committed Sep 16, 2024
1 parent ffe218b commit 7eb01fa
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions web/app/Console/Commands/RunRepair.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,12 @@ public function fixPhpMyAdmin()
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);
Expand Down

0 comments on commit 7eb01fa

Please sign in to comment.