aboutsummaryrefslogtreecommitdiffstats
path: root/admin/create_listing_file.php
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2004-10-02 22:59:03 +0000
committerz0rglub <z0rglub@piwigo.org>2004-10-02 22:59:03 +0000
commitda836ea95fce9a8b5711366253832d298e3c4a6e (patch)
tree827499d616887d99b7e9c088900caf242216b521 /admin/create_listing_file.php
parent28dcfea993edd4e4ff9eb06e49ec6b2ef326396d (diff)
directories "high" and "representative" are not returned anymore as
potential category directories git-svn-id: http://piwigo.org/svn/trunk@540 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/create_listing_file.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/admin/create_listing_file.php b/admin/create_listing_file.php
index 33da67170..48108afc8 100644
--- a/admin/create_listing_file.php
+++ b/admin/create_listing_file.php
@@ -258,8 +258,10 @@ function get_dirs($basedir, $indent, $level)
{
if ($file != '.'
and $file != '..'
- and is_dir ($basedir.'/'.$file)
- and $file != 'thumbnail')
+ and $file != 'thumbnail'
+ and $file != 'high'
+ and $file != 'representative'
+ and is_dir ($basedir.'/'.$file))
{
array_push($fs_dirs, $file);
if (!preg_match('/^[a-zA-Z0-9-_.]+$/', $file))