summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--itjs.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/itjs.php b/itjs.php
index 1332ead..bb6a95b 100644
--- a/itjs.php
+++ b/itjs.php
@@ -25,7 +25,7 @@ if (EDC('slowjs'))
sleep(20);
$data = "";
-$files = itjs::filenames(basename($_SERVER['PHP_SELF']));
+$files = itjs::filenames(it::match('/itjs/([a-z_,.-]*)', $_SERVER['PHP_SELF']));
foreach ($files as $file)
{