- Fix displaying of hidden directories in skins list (#1486301)

- Fix open_basedir restriction error when reading skins list (#1486304)
release-0.6
alecpl 15 years ago
parent 251cac292f
commit 90b1cb2efc

@ -1,6 +1,8 @@
CHANGELOG RoundCube Webmail
===========================
- Fix displaying of hidden directories in skins list (#1486301)
- Fix open_basedir restriction error when reading skins list (#1486304)
- Fix pasting from Office apps into html editor (#1486271)
- Fix empty <A> tags parsing (#1486272)
- Don't cut off attachment names when using non-RFC2231 encoding (#1485515)

@ -640,8 +640,7 @@ function rcmail_get_skins()
while (($file = readdir($dir)) !== false)
{
$filename = $path.'/'.$file;
if (is_dir($filename) && is_readable($filename)
&& !in_array($file, array('.', '..', '.svn')))
if (!preg_match('/^\./', $file) && is_dir($filename) && is_readable($filename))
$skins[] = $file;
}

Loading…
Cancel
Save