mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-25 09:00:27 +00:00
Update RunRepair.php
This commit is contained in:
parent
ffe218b839
commit
7eb01fa7bd
1 changed files with 6 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue