summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2013-10-17 17:32:31 +0000
committerUrban Müller2013-10-17 17:32:31 +0000
commit806f87267ca3cccde53749cfba5802b16aad1c9b (patch)
tree9286af70a5994408bb22b259428c316abf608092
parentdc7b61f5951d074ca9aada6c5dbd1c885cd12bab (diff)
downloaditools-806f87267ca3cccde53749cfba5802b16aad1c9b.tar.gz
itools-806f87267ca3cccde53749cfba5802b16aad1c9b.tar.bz2
itools-806f87267ca3cccde53749cfba5802b16aad1c9b.zip
ignore itools/ prefix
-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";