added two dots
This commit is contained in:
@ -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';
|
||||
?>
|
Reference in New Issue
Block a user