mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Beware: the 'lifecycle' directories contain big images. Exclude them from the list of icons.
SVN:trunk[2367]
This commit is contained in:
@@ -808,7 +808,7 @@ class DashletHeaderStatic extends Dashlet
|
||||
while (($sFile = readdir($hDir)) !== false)
|
||||
{
|
||||
$aMatches = array();
|
||||
if (($sFile != '.') && ($sFile != '..') && is_dir($sBaseDir.'/'.$sDir.'/'.$sFile))
|
||||
if (($sFile != '.') && ($sFile != '..') && ($sFile != 'lifecycle') && is_dir($sBaseDir.'/'.$sDir.'/'.$sFile))
|
||||
{
|
||||
$sDirSubPath = ($sDir == '') ? $sFile : $sDir.'/'.$sFile;
|
||||
$aResult = array_merge($aResult, self::FindIcons($sBaseDir, $sDirSubPath));
|
||||
|
||||
Reference in New Issue
Block a user