Changeset 15431


Ignore:
Timestamp:
May 30, 2012, 6:22:45 AM (9 years ago)
Author:
rvelices
Message:

multi size: avoid warning for nonphoto elements for which the mime type icon does not exist in the current theme

File:
1 edited

Legend:

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

    r14735 r15431  
    5555      if ( ($size=@getimagesize(PHPWG_ROOT_PATH.$this->rel_path)) === false)
    5656      {
    57         $this->rel_path = get_themeconf('mime_icon_dir').'unknown.png';
     57        $this->rel_path = 'themes/default/icon/mimetypes/unknown.png';
    5858        $size = getimagesize(PHPWG_ROOT_PATH.$this->rel_path);
    5959      }
Note: See TracChangeset for help on using the changeset viewer.