fix: correct dead ternary in check.php filesystem status logic
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/73ed1a44-9f9b-44d6-995a-706993bdef21 Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
This commit is contained in:
parent
2303175e56
commit
6ddc84700f
1 changed files with 1 additions and 1 deletions
|
|
@ -156,7 +156,7 @@ foreach ($paths_to_check as $rel => $meta) {
|
||||||
$parent_writable = is_writable(dirname($abs));
|
$parent_writable = is_writable(dirname($abs));
|
||||||
$not_exist_status = $parent_writable ? 'warning' : 'error';
|
$not_exist_status = $parent_writable ? 'warning' : 'error';
|
||||||
} else {
|
} else {
|
||||||
$not_exist_status = $optional ? 'warning' : 'warning';
|
$not_exist_status = $optional ? 'warning' : 'missing';
|
||||||
}
|
}
|
||||||
$rows[] = [
|
$rows[] = [
|
||||||
'section' => 'Filesystem',
|
'section' => 'Filesystem',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue