diff options
author | z0rglub <z0rglub@piwigo.org> | 2004-10-25 20:42:13 +0000 |
---|---|---|
committer | z0rglub <z0rglub@piwigo.org> | 2004-10-25 20:42:13 +0000 |
commit | 3730c810f254267ab1fb49f4cad55866e780ad6e (patch) | |
tree | 9f1d47c6700c3ef904d9b9267d9d81daaa5421ed /admin | |
parent | 54bfd62e17da720c3dd0b0d27a0c799396623307 (diff) |
pwg_representative and pwg_high directories are reserved directories for
PhpWebGallery
git-svn-id: http://piwigo.org/svn/trunk@586 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | admin/thumbnail.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/admin/thumbnail.php b/admin/thumbnail.php index ba4937aa1..c38da627d 100644 --- a/admin/thumbnail.php +++ b/admin/thumbnail.php @@ -35,8 +35,12 @@ function get_subdirs( $dir ) { while ( $file = readdir( $opendir ) ) { - if ( $file != 'thumbnail' and $file != '.' - and $file != '..' and is_dir( $dir.'/'.$file ) ) + if ($file != 'thumbnail' + and $file != 'pwg_representative' + and $file != 'pwg_high' + and $file != '.' + and $file != '..' + and is_dir($dir.'/'.$file)) { array_push( $sub_dirs, $file ); } |