Обновить phnslib.php
This commit is contained in:
parent
2648c1b1fd
commit
170560db47
@ -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");
|
||||
}
|
||||
?>
|
Loading…
Reference in New Issue
Block a user