diff options
author | rvelices <rv-github@modusoptimus.com> | 2012-05-30 04:22:45 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2012-05-30 04:22:45 +0000 |
commit | aca35f36f08e34fdb56c15c0891bbc06412749ee (patch) | |
tree | 48bbb1a325b8b9555bc335e5d81849d1b7d7fdb3 /include/derivative.inc.php | |
parent | 2ec1c7d0e9a9c7dfbd2150c5c40a3006d7058b95 (diff) |
multi size: avoid warning for nonphoto elements for which the mime type icon does not exist in the current theme
git-svn-id: http://piwigo.org/svn/trunk@15431 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/derivative.inc.php')
-rw-r--r-- | include/derivative.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/derivative.inc.php b/include/derivative.inc.php index 3d5be32d5..a3b944e72 100644 --- a/include/derivative.inc.php +++ b/include/derivative.inc.php @@ -54,7 +54,7 @@ final class SrcImage $this->flags |= self::IS_MIMETYPE; if ( ($size=@getimagesize(PHPWG_ROOT_PATH.$this->rel_path)) === false) { - $this->rel_path = get_themeconf('mime_icon_dir').'unknown.png'; + $this->rel_path = 'themes/default/icon/mimetypes/unknown.png'; $size = getimagesize(PHPWG_ROOT_PATH.$this->rel_path); } $this->size = array($size[0],$size[1]); |