Обновить phnslib.php

This commit is contained in:
artemuhi 2024-03-25 23:11:43 +03:00
parent 170560db47
commit 7dd6260484

View File

@ -11,7 +11,7 @@ function p2h($data, $keytype) {
"data" => $data "data" => $data
]; ];
fwrite($f, json_encode($temp, JSON_UNESCAPED_LINE_TERMINATORS)); fwrite($f, json_encode($temp, JSON_UNESCAPED_LINE_TERMINATORS));
fclose($f) fclose($f);
return shell_exec("python converter.py"); return shell_exec("python converter.py");
} }
function h2p($data, $keytype) { function h2p($data, $keytype) {
@ -26,7 +26,7 @@ function h2p($data, $keytype) {
"data" => $data "data" => $data
]; ];
fwrite($f, json_encode($temp, JSON_UNESCAPED_LINE_TERMINATORS)); fwrite($f, json_encode($temp, JSON_UNESCAPED_LINE_TERMINATORS));
fclose($f) fclose($f);
return shell_exec("python converter.py"); return shell_exec("python converter.py");
} }
function seed2hkey($data) { function seed2hkey($data) {
@ -41,7 +41,7 @@ function seed2hkey($data) {
"data" => $data "data" => $data
]; ];
fwrite($f, json_encode($temp, JSON_UNESCAPED_LINE_TERMINATORS)); fwrite($f, json_encode($temp, JSON_UNESCAPED_LINE_TERMINATORS));
fclose($f) fclose($f);
return shell_exec("python converter.py"); return shell_exec("python converter.py");
} }
?> ?>