Skip to content
Snippets Groups Projects
Commit d37b68d0 authored by Florian Azizian's avatar Florian Azizian
Browse files

FIX #13709 TIME 0:30 can not connected onlyoffice with redHat server

parent 20f480c7
No related branches found
No related tags found
No related merge requests found
...@@ -210,7 +210,7 @@ class OnlyOfficeController ...@@ -210,7 +210,7 @@ class OnlyOfficeController
return $response->withStatus(400)->withJson(['errors' => 'Netcat command not found', 'lang' => 'preRequisiteMissing']); return $response->withStatus(400)->withJson(['errors' => 'Netcat command not found', 'lang' => 'preRequisiteMissing']);
} }
$isAvailable = strpos($exec, 'succeeded!') !== false || strpos($exec, 'open') !== false; $isAvailable = strpos($exec, 'succeeded!') !== false || strpos($exec, 'open') !== false || strpos($exec, 'Connected') !== false;
return $response->withJson(['isAvailable' => $isAvailable]); return $response->withJson(['isAvailable' => $isAvailable]);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment