Added accidentally removed regex modifier i

This commit is contained in:
Christian Bläul
2018-01-21 21:30:48 +01:00
committed by Fonata
parent 823f51c4f0
commit 3c31b70724

View File

@@ -825,7 +825,7 @@ class parseCSV {
$this->file = $file;
}
if (preg_match('/\.php$/', $file) && preg_match('/<\?.*?\?>(.*)/ms', $data, $strip)) {
if (preg_match('/\.php$/i', $file) && preg_match('/<\?.*?\?>(.*)/ms', $data, $strip)) {
$data = ltrim($strip[1]);
}