refs #624. Changed endpoint enviaArchivo

pull/10/head
Manuel Aranda Rosales 2024-08-27 11:10:53 +02:00
parent 9574420180
commit a604e6dfc4
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ class OgAdmClientController extends AbstractController
$fileAutoExec = '/tmp/Sautoexec-' . $data['iph'];
try {
$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);
} catch (\Exception $e) {
return new JsonResponse([], Response::HTTP_INTERNAL_SERVER_ERROR);