Changeset 540


Ignore:
Timestamp:
Oct 3, 2004, 12:59:03 AM (20 years ago)
Author:
z0rglub
Message:

directories "high" and "representative" are not returned anymore as
potential category directories

Location:
trunk/admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/create_listing_file.php

    r538 r540  
    259259      if ($file != '.'
    260260          and $file != '..'
    261           and is_dir ($basedir.'/'.$file)
    262           and $file != 'thumbnail')
     261          and $file != 'thumbnail'
     262          and $file != 'high'
     263          and $file != 'representative'
     264          and is_dir ($basedir.'/'.$file))
    263265      {
    264266        array_push($fs_dirs, $file);
  • trunk/admin/include/functions.php

    r523 r540  
    741741 * returns an array containing sub-directories which can be a category
    742742 *
    743  * directories nammed "thumbnail" are omitted
     743 * directories nammed "thumbnail", "high" or "representative" are omitted
    744744 *
    745745 * @param string $basedir
     
    754754    while ( $file = readdir( $opendir ) )
    755755    {
    756       if ( $file != '.' and $file != '..'
    757            and is_dir( $basedir.'/'.$file )
    758            and $file != 'thumbnail' )
     756      if ($file != '.'
     757          and $file != '..'
     758          and $file != 'thumbnail'
     759          and $file != 'high'
     760          and $file != 'representative'
     761          and is_dir($basedir.'/'.$file))
    759762      {
    760763        array_push( $sub_dirs, $file );
Note: See TracChangeset for help on using the changeset viewer.