mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-02 11:29:58 +01:00
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:
parent
3531c010df
commit
98c8c37409
@ -47,8 +47,9 @@
|
|||||||
while(list($key, $value) = each($files))
|
while(list($key, $value) = each($files))
|
||||||
{
|
{
|
||||||
//echo '$key = '.$key.' and $value = '.$value.'<br>';
|
//echo '$key = '.$key.' and $value = '.$value.'<br>';
|
||||||
if (!preg_match("/^(class\.).(\.inc\.php)+$/i",$value)){
|
if (!preg_match("/^class\.(.*)\.inc\.php+$/",$value))
|
||||||
//unset($files[$key]);
|
{
|
||||||
|
unset($files[$key]);
|
||||||
//echo '#'.$key.' is bad, and should be unset<br>';
|
//echo '#'.$key.' is bad, and should be unset<br>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user