refs #624. Changed endpoint AutoExec
parent
ee779798bf
commit
59ce22e6f1
|
@ -55,7 +55,7 @@ class OgAdmClientController extends AbstractController
|
|||
$fileAutoExec = '/tmp/Sautoexec-' . $data['iph'];
|
||||
try {
|
||||
$fileExe = fopen($fileAutoExec, 'w');
|
||||
fwrite($fileExe, json_encode(['param' => '@'.join(["nfn=popup\rtitle=my title\rmessage=my message"])]));
|
||||
fwrite($fileExe, json_encode(['param' => ["nfn=popup\rtitle=my title\rmessage=my message"]]));
|
||||
fclose($fileExe);
|
||||
} catch (\Exception $e) {
|
||||
return new JsonResponse([], Response::HTTP_INTERNAL_SERVER_ERROR);
|
||||
|
|
Loading…
Reference in New Issue