From 3730c810f254267ab1fb49f4cad55866e780ad6e Mon Sep 17 00:00:00 2001 From: z0rglub Date: Mon, 25 Oct 2004 20:42:13 +0000 Subject: 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 --- admin/thumbnail.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'admin') 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 ); } -- cgit v1.2.3