diff options
author | nikrou <nikrou@piwigo.org> | 2006-02-12 16:05:49 +0000 |
---|---|---|
committer | nikrou <nikrou@piwigo.org> | 2006-02-12 16:05:49 +0000 |
commit | 2dc2eb8630a286ac291605901d7384840a0202a9 (patch) | |
tree | 1188e8dd2333e8208898b2b19d533f1dba5d358e /include/functions.inc.php | |
parent | db93405255c0fb7d59e255e11518cddd88ffa7c2 (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
Diffstat (limited to '')
-rw-r--r-- | include/functions.inc.php | 3 |
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); } |