refs #624. Changed endpoint enviaArchivo

pull/10/head
Manuel Aranda Rosales 2024-08-27 11:03:50 +02:00
parent a54e9b113e
commit 9574420180
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(['contents' => "nfn=popup\rtitle=my title\rmessage=my message"]));
fwrite($fileExe, json_encode("nfn=popup\rtitle=my title\rmessage=my message"));
fclose($fileExe);
} catch (\Exception $e) {
return new JsonResponse([], Response::HTTP_INTERNAL_SERVER_ERROR);