not include .svn directory in the candidates (get_dirs function) for new themes

git-svn-id: http://piwigo.org/svn/trunk@1035 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
nikrou
2006-02-12 16:05:49 +00:00
parent db93405255
commit 2dc2eb8630
+2 -1
View File
@@ -201,7 +201,8 @@ function get_dirs($directory)
if ($file != '.'
and $file != '..'
and is_dir($directory.'/'.$file)
and $file != 'CVS')
and $file != 'CVS'
and $file != '.svn')
{
array_push($sub_dirs, $file);
}