mirror of
https://github.com/parsecsv/parsecsv-for-php.git
synced 2026-02-19 00:36:38 +00:00
Added accidentally removed regex modifier i
This commit is contained in:
@@ -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]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user