summaryrefslogtreecommitdiff
path: root/itjs.class
diff options
context:
space:
mode:
Diffstat (limited to 'itjs.class')
-rw-r--r--itjs.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/itjs.class b/itjs.class
index 5aa13f0..f91c388 100644
--- a/itjs.class
+++ b/itjs.class
@@ -136,7 +136,7 @@ static function filenames($filelist)
"PIE.htc" => "$libsearch/doc/PIE.htc",
);
- foreach (array_filter(explode(",", it::replace(array('\?.*' => ""), $filelist))) as $file)
+ foreach (array_filter(explode(",", it::replace(array('\?.*' => ""), basename($filelist)))) as $file)
{
$filenames = $special[$file] ? $special[$file] : "$path/$file";