Fix: Better filter for mailing modules files
This commit is contained in:
parent
4b40cc7509
commit
cdf9d6df00
@ -194,7 +194,8 @@ if ($mil->fetch($_REQUEST["id"]) >= 0)
|
||||
{
|
||||
if (substr($file, 0, 1) <> '.' && substr($file, 0, 3) <> 'CVS')
|
||||
{
|
||||
if (eregi("(.*)\.(.*)\.(.*)",$file,$reg)) {
|
||||
if (eregi("(.*)\.modules\.php$",$file,$reg))
|
||||
{
|
||||
$modulename=$reg[1];
|
||||
if ($modulename == 'example') continue;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user