mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Filter more accurate
This commit is contained in:
parent
b1c1b6ffd1
commit
893897d4f0
|
|
@ -157,7 +157,7 @@ class FormAdmin
|
|||
}
|
||||
|
||||
/**
|
||||
* \brief Retourne la liste deroulante des menus disponibles (eldy)
|
||||
* \brief Retourne la liste deroulante des menus disponibles
|
||||
* \param selected Menu pre-selectionnee
|
||||
* \param htmlname Nom de la zone select
|
||||
* \param dirmenu Repertoire a scanner
|
||||
|
|
@ -175,7 +175,7 @@ class FormAdmin
|
|||
$filelib=preg_replace('/(_backoffice|_frontoffice)?\.php$/i','',$file);
|
||||
if (preg_match('/^default/i',$filelib)) continue;
|
||||
if (preg_match('/^empty/i',$filelib)) continue;
|
||||
if (preg_match('/lib/i',$filelib)) continue;
|
||||
if (preg_match('/\.lib/i',$filelib)) continue;
|
||||
|
||||
$menuarray[$filelib]=1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user