From 19195f12838c1774e10cfd0181e869b8067cd82a Mon Sep 17 00:00:00 2001 From: Vexure Date: Thu, 26 Sep 2024 21:44:21 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20dRec.php?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dRec.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dRec.php b/dRec.php index d8fa9a6..2f3ef1e 100644 --- a/dRec.php +++ b/dRec.php @@ -9,13 +9,13 @@ try { if (json_last_error() != JSON_ERROR_NONE) $data = file_get_contents("php://input"); if (isset($data->saveMark)) { - if ($data->type == "videos") { $savePath = "./vlist"; } - if ($data->type == "games") { $savePath = "./glist"; } - if ($data->type == "curgame") { $savePath = "./curgame"; } + if ($data->type == "videos") { $savePath = "./vlist.ejd"; } + if ($data->type == "games") { $savePath = "./glist.ejd"; } + if ($data->type == "curgame") { $savePath = "./curgame.ejd"; } if ($savePath != "") { file_put_contents($savePath, $data->data); - file_put_contents($savePath . "-sm", json_encode($data->saveMark)); + file_put_contents($savePath . ".sm", json_encode($data->saveMark)); } } else { if ((strlen($data) > 10) && (strlen($data) < 500000)) file_put_contents("./data", $data);