From 2dc2eb8630a286ac291605901d7384840a0202a9 Mon Sep 17 00:00:00 2001 From: nikrou Date: Sun, 12 Feb 2006 16:05:49 +0000 Subject: 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 --- include/functions.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/functions.inc.php') 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); } -- cgit v1.2.3