Changeset 28587 for trunk/include/derivative.inc.php
- Timestamp:
- Jun 2, 2014, 9:55:46 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/derivative.inc.php
r26461 r28587 68 68 { 69 69 $ext = strtolower($ext); 70 $this->rel_path = trigger_ event('get_mimetype_location', get_themeconf('mime_icon_dir').$ext.'.png', $ext );70 $this->rel_path = trigger_change('get_mimetype_location', get_themeconf('mime_icon_dir').$ext.'.png', $ext ); 71 71 $this->flags |= self::IS_MIMETYPE; 72 72 if ( ($size=@getimagesize(PHPWG_ROOT_PATH.$this->rel_path)) === false) … … 135 135 if ( !($this->flags & self::IS_MIMETYPE) ) 136 136 { 137 $url = trigger_ event('get_src_image_url', $url, $this);137 $url = trigger_change('get_src_image_url', $url, $this); 138 138 } 139 139 return embellish_url($url); … … 236 236 } 237 237 return embellish_url( 238 trigger_ event('get_derivative_url',238 trigger_change('get_derivative_url', 239 239 get_root_url().$rel_url, 240 240 $params, $src_image, $rel_url … … 406 406 } 407 407 return embellish_url( 408 trigger_ event('get_derivative_url',408 trigger_change('get_derivative_url', 409 409 get_root_url().$this->rel_url, 410 410 $this->params, $this->src_image, $this->rel_url
Note: See TracChangeset
for help on using the changeset viewer.