From 14a2baa53b557c22d6fe4abca6864699c3161b72 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Wed, 13 Jan 2016 13:57:58 +0100 Subject: bugfix: need to omit query everywhere --- itjs.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'itjs.class') diff --git a/itjs.class b/itjs.class index 715247c..45b68de 100644 --- a/itjs.class +++ b/itjs.class @@ -136,7 +136,7 @@ static function filenames($filelist) $filenames = $special[$file] ?: (file_exists("$local/" . it::match('[^?]*', $file)) ? "$local/$file" : "$libsearch/itjs/$file"); foreach (explode(",", $filenames) as $filename) - if (!$seen[$filename]++ && file_exists($filename)) + if (!$seen[$filename]++ && file_exists(it::match('[^?]*', $filename))) $result[] = $filename; } -- cgit v1.2.3