aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornikrou <nikrou@piwigo.org>2006-02-12 16:05:49 +0000
committernikrou <nikrou@piwigo.org>2006-02-12 16:05:49 +0000
commit2dc2eb8630a286ac291605901d7384840a0202a9 (patch)
tree1188e8dd2333e8208898b2b19d533f1dba5d358e
parentdb93405255c0fb7d59e255e11518cddd88ffa7c2 (diff)
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
-rw-r--r--include/functions.inc.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/functions.inc.php b/include/functions.inc.php
index b00d856ae..1c106233b 100644
--- a/include/functions.inc.php
+++ b/include/functions.inc.php
@@ -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);
}