From 3de525bbb5bd95560d54c7dad8b5b0b109a03a51 Mon Sep 17 00:00:00 2001 From: Flatlogic Bot Date: Sun, 23 Nov 2025 17:57:45 +0000 Subject: [PATCH] 2 --- index.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/index.php b/index.php index d30616e..e7d2bda 100644 --- a/index.php +++ b/index.php @@ -28,15 +28,16 @@ ]; function getStatusIndicator($status) { + $icon_path = __DIR__ . '/assets/icons/'; switch ($status) { case 'submitted': - return '' . file_get_contents("assets/icons/check.svg") . ''; + return '' . file_get_contents($icon_path . "check.svg") . ''; case 'pending': - return '' . file_get_contents("assets/icons/clock.svg") . ''; + return '' . file_get_contents($icon_path . "clock.svg") . ''; case 'missed': - return '' . file_get_contents("assets/icons/x.svg") . ''; + return '' . file_get_contents($icon_path . "x.svg") . ''; case 'ooo': - return '' . file_get_contents("assets/icons/palm.svg") . ''; + return '' . file_get_contents($icon_path . "palm.svg") . ''; default: return ''; } @@ -56,7 +57,7 @@