From a9231446a82b8cef55ad1c2cbb5ef28f0757fe5f Mon Sep 17 00:00:00 2001 From: dangrubbb Date: Wed, 16 Jul 2025 16:50:15 -0400 Subject: [PATCH] added two dots --- php/update_state.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/update_state.php b/php/update_state.php index 7336064..cb4b274 100644 --- a/php/update_state.php +++ b/php/update_state.php @@ -60,7 +60,7 @@ if ($written_state !== $state) { // Optional: Log the change (helpful for debugging) $log_entry = date('Y-m-d H:i:s') . " - State changed to: {$state} - IP: {$_SERVER['REMOTE_ADDR']}\n"; -error_log($log_entry, 3, '/tmp/server_state.log'); +error_log($log_entry, 3, '../tmp/server_state.log'); echo 'success'; ?> \ No newline at end of file