Ignore:
Timestamp:
Nov 17, 2004, 12:38:34 AM (19 years ago)
Author:
plg
Message:
  • images.path column added to reduce database access
  • function mass_inserts moved from admin/remote_sites.php to admin/include/function.php
  • function mass_inserts used in admin/update.php
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/category_default.inc.php

    r605 r606  
    3939 
    4040$query = '
    41 SELECT DISTINCT(id),file,date_available,category_id
     41SELECT DISTINCT(id),path,file,date_available,category_id
    4242       ,tn_ext,name,filesize,storage_category_id,average_rate
    4343  FROM '.IMAGES_TABLE.' AS i
     
    8181  }
    8282 
    83   $thumbnail_url = get_thumbnail_src($row['file'],
    84                                      $row['storage_category_id'],
    85                                      @$row['tn_ext']);
     83  $thumbnail_url = get_thumbnail_src($row['path'], @$row['tn_ext']);
    8684 
    8785  // message in title for the thumbnail
Note: See TracChangeset for help on using the changeset viewer.