From 170560db47258db2de84429dce93dd16638727af Mon Sep 17 00:00:00 2001 From: artemuhi Date: Mon, 25 Mar 2024 23:01:36 +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=20phnslib.php?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- phnslib.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/phnslib.php b/phnslib.php index 94158fa..f42ef7d 100644 --- a/phnslib.php +++ b/phnslib.php @@ -12,7 +12,7 @@ function p2h($data, $keytype) { ]; fwrite($f, json_encode($temp, JSON_UNESCAPED_LINE_TERMINATORS)); fclose($f) - return `python converter.py`; + return shell_exec("python converter.py"); } function h2p($data, $keytype) { $f = fopen("temp.json", "c"); @@ -27,7 +27,7 @@ function h2p($data, $keytype) { ]; fwrite($f, json_encode($temp, JSON_UNESCAPED_LINE_TERMINATORS)); fclose($f) - return `python converter.py`; + return shell_exec("python converter.py"); } function seed2hkey($data) { $f = fopen("temp.json", "c"); @@ -42,6 +42,6 @@ function seed2hkey($data) { ]; fwrite($f, json_encode($temp, JSON_UNESCAPED_LINE_TERMINATORS)); fclose($f) - return `python converter.py`; + return shell_exec("python converter.py"); } ?> \ No newline at end of file