mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-12 03:01:32 +00:00
updated streamline-setup v2
This commit is contained in:
+3
-3
@@ -59,7 +59,7 @@ class FileProfilerStorage implements ProfilerStorageInterface
|
||||
|
||||
$result = [];
|
||||
while (\count($result) < $limit && $line = $this->readLineFromFile($file)) {
|
||||
$values = str_getcsv($line);
|
||||
$values = str_getcsv($line, ',', '"', '\\');
|
||||
|
||||
if (7 > \count($values)) {
|
||||
// skip invalid lines
|
||||
@@ -193,7 +193,7 @@ class FileProfilerStorage implements ProfilerStorageInterface
|
||||
$profile->getParentToken(),
|
||||
$profile->getStatusCode(),
|
||||
$profile->getVirtualType() ?? 'request',
|
||||
]);
|
||||
], ',', '"', '\\');
|
||||
fclose($file);
|
||||
|
||||
if (1 === mt_rand(1, 10)) {
|
||||
@@ -334,7 +334,7 @@ class FileProfilerStorage implements ProfilerStorageInterface
|
||||
}
|
||||
|
||||
while ($line = fgets($handle)) {
|
||||
$values = str_getcsv($line);
|
||||
$values = str_getcsv($line, ',', '"', '\\');
|
||||
|
||||
if (7 > \count($values)) {
|
||||
// skip invalid lines
|
||||
|
||||
Reference in New Issue
Block a user