mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-22 22:08:39 +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))
|
||||
{
|
||||
//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>';
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user