mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-13 11:41:31 +00:00
updated streamline-setup v2
This commit is contained in:
@@ -106,7 +106,7 @@ class PhpSubprocess extends Process
|
||||
throw new RuntimeException('Unable to read ini: '.$file);
|
||||
}
|
||||
// Check and remove directives after HOST and PATH sections
|
||||
if (preg_match('/^\s*\[(?:PATH|HOST)\s*=/mi', $data, $matches)) {
|
||||
if (preg_match('/^\s*\[(?:PATH|HOST)\s*=/mi', $data, $matches, \PREG_OFFSET_CAPTURE)) {
|
||||
$data = substr($data, 0, $matches[0][1]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user