Changeset 522 for trunk


Ignore:
Timestamp:
Sep 18, 2004, 6:04:41 PM (20 years ago)
Author:
z0rglub
Message:

representative was badly tested using prefix_thumbnail...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/update.php

    r520 r522  
    2828if( !defined("PHPWG_ROOT_PATH") )
    2929{
    30         die ("Hacking attempt!");
     30  die ("Hacking attempt!");
    3131}
    3232include_once( PHPWG_ROOT_PATH.'admin/include/isadmin.inc.php');
     
    426426        foreach ($conf['picture_ext'] as $ext)
    427427        {
    428           $test = $conf['prefix_thumbnail'].$file_wo_ext.'.'.$ext;
    429           if (!in_array($test, $fs_thumbnails))
     428          $candidate = $file_wo_ext.'.'.$ext;
     429          if (!in_array($candidate, $fs_representatives))
    430430          {
    431431            continue;
Note: See TracChangeset for help on using the changeset viewer.