From e57e54925b35736e1e6c43b60015fe173d6c8bd4 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 28 Nov 2024 12:50:36 +0100 Subject: [PATCH] remove output and create debug in parent folder --- functions.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/functions.php b/functions.php index a52262b..a3b3082 100644 --- a/functions.php +++ b/functions.php @@ -326,7 +326,8 @@ function remove_response($key) { redis_remove("$key"); } else { - //unlink($SHARED_DIR."/".$key); + copy($SHARED_DIR."/output/".$key.".json",$SHARED_DIR."/".$key.".json"); // DEBUG - last json + unlink($SHARED_DIR."/output/".$key.".json"); } }