added in ability to handle mltiple values for each entry, plus started with teh regexp for limiting to only class.*.inc.php

This commit is contained in:
seek3r 2001-11-12 20:58:07 +00:00
parent 3531c010df
commit 98c8c37409

View File

@ -47,8 +47,9 @@
while(list($key, $value) = each($files))
{
//echo '$key = '.$key.' and $value = '.$value.'<br>';
if (!preg_match("/^(class\.).(\.inc\.php)+$/i",$value)){
//unset($files[$key]);
if (!preg_match("/^class\.(.*)\.inc\.php+$/",$value))
{
unset($files[$key]);
//echo '#'.$key.' is bad, and should be unset<br>';
}
}