From 6ddc84700fd3e2d360f32ee8b071153f86e305d5 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 2 May 2026 00:31:23 +0000 Subject: [PATCH] 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> --- check.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check.php b/check.php index eaf2ca50..3604f27e 100644 --- a/check.php +++ b/check.php @@ -156,7 +156,7 @@ foreach ($paths_to_check as $rel => $meta) { $parent_writable = is_writable(dirname($abs)); $not_exist_status = $parent_writable ? 'warning' : 'error'; } else { - $not_exist_status = $optional ? 'warning' : 'warning'; + $not_exist_status = $optional ? 'warning' : 'missing'; } $rows[] = [ 'section' => 'Filesystem',