- Timestamp:
- Oct 9, 2004, 1:30:23 PM (20 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/create_listing_file.php
r540 r563 230 230 231 231 $pictures = array(); 232 if ($opendir = @opendir($dir.'/ representative'))232 if ($opendir = @opendir($dir.'/pwg_representative')) 233 233 { 234 234 while ($file = readdir($opendir)) … … 260 260 and $file != '..' 261 261 and $file != 'thumbnail' 262 and $file != ' high'263 and $file != ' representative'262 and $file != 'pwg_high' 263 and $file != 'pwg_representative' 264 264 and is_dir ($basedir.'/'.$file)) 265 265 { -
trunk/admin/include/functions.php
r540 r563 129 129 130 130 $pictures = array(); 131 if ($opendir = @opendir($dir.'/ representative'))131 if ($opendir = @opendir($dir.'/pwg_representative')) 132 132 { 133 133 while ($file = readdir($opendir)) … … 741 741 * returns an array containing sub-directories which can be a category 742 742 * 743 * directories nammed "thumbnail", "high" or "representative" are omitted 743 * directories nammed "thumbnail", "pwg_high" or "pwg_representative" are 744 * omitted 744 745 * 745 746 * @param string $basedir … … 757 758 and $file != '..' 758 759 and $file != 'thumbnail' 759 and $file != ' high'760 and $file != ' representative'760 and $file != 'pwg_high' 761 and $file != 'pwg_representative' 761 762 and is_dir($basedir.'/'.$file)) 762 763 { -
trunk/picture.php
r539 r563 154 154 if (isset($row['representative_ext']) and $row['representative_ext'] =! '') 155 155 { 156 $picture[$i]['src'] = $cat_directory.' representative/';156 $picture[$i]['src'] = $cat_directory.'pwg_representative/'; 157 157 $picture[$i]['src'].= $file_wo_ext.'.'.$row['representative_ext']; 158 158 } … … 169 169 if ($i == 'current') 170 170 { 171 if (@fopen($cat_directory.' high/'.$row['file'], 'r'))171 if (@fopen($cat_directory.'pwg_high/'.$row['file'], 'r')) 172 172 { 173 $picture[$i]['high'] = $cat_directory.' high/'.$row['file'];173 $picture[$i]['high'] = $cat_directory.'pwg_high/'.$row['file']; 174 174 } 175 175 }
Note: See TracChangeset
for help on using the changeset viewer.