mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-05 09:22:21 +02:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user