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