diff --git a/parsecsv.lib.php b/parsecsv.lib.php index 03b17fc..e8d59b2 100644 --- a/parsecsv.lib.php +++ b/parsecsv.lib.php @@ -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]); }