summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--itjs.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/itjs.class b/itjs.class
index 8e79fad..539f97b 100644
--- a/itjs.class
+++ b/itjs.class
@@ -134,7 +134,7 @@ static function filenames($filelist)
"PIE.htc" => "$libsearch/doc/PIE.htc",
);
- if (it::match("[^-\w.=?&,]", basename($filelist)))
+ if (it::is_devel() && it::match("[^-\w.=?&,]", basename($filelist)))
it::error("bad filelist $filelist");
foreach (it::match("[-\w.=?&]+", basename($filelist), array('all' => true)) as $file)