diff options
Diffstat (limited to 'admin/thumbnail.php')
-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 ); } |