refs #624. Changed endpoint AutoExec

pull/10/head
Manuel Aranda Rosales 2024-08-27 09:51:30 +02:00
parent 5859b47619
commit c6923d49fa
1 changed files with 2 additions and 0 deletions

View File

@ -84,6 +84,8 @@ class OgAdmClientController extends AbstractController
}
$nfl = $data['nfl'];
//$nfl = $this->getParameter('kernel.project_dir') . '/file.txt';
if (!file_exists($nfl)) {
return new JsonResponse(['message' => 'File not found'], Response::HTTP_NOT_FOUND);
}