summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2016-01-13 13:57:58 +0100
committerUrban Müller2016-01-13 13:57:58 +0100
commit14a2baa53b557c22d6fe4abca6864699c3161b72 (patch)
tree9ff453ddddc2d0a7ee1b470ac6efc2cec7f68b57
parent9c14abfe4a94c03c6b4df26fb0e3d1c4350293bd (diff)
downloaditools-14a2baa53b557c22d6fe4abca6864699c3161b72.tar.gz
itools-14a2baa53b557c22d6fe4abca6864699c3161b72.tar.bz2
itools-14a2baa53b557c22d6fe4abca6864699c3161b72.zip
bugfix: need to omit query everywhere
-rw-r--r--itjs.class2
1 files changed, 1 insertions, 1 deletions
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;
}