Changeset 13114
- Timestamp:
- 02/12/12 11:01:46 (16 months ago)
- Files:
-
- 1 modified
-
extensions/gvideo/main.inc.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
extensions/gvideo/main.inc.php
r8237 r13114 34 34 35 35 36 add_event_handler('get_thumbnail_location', 'py_mimetype', 60, 2); 36 37 function py_mimetype($location, $element_info) 37 38 { … … 44 45 $location= 'plugins/' . GVIDEO_DIR . '/mimetypes/' . $extension . '.png'; 45 46 } 47 } 48 return $location; 49 } 50 51 add_event_handler('get_mimetype_location', 'py_mimetype_location', 60, 2); 52 function py_mimetype_location($location, $ext) 53 { 54 global $py_addext; 55 if (in_array($ext, $py_addext)) 56 { 57 $location= 'plugins/' . GVIDEO_DIR . '/mimetypes/' . $ext . '.png'; 46 58 } 47 59 return $location;
![(please configure the [header_logo] section in trac.ini)](http://piwigo.org/screenshots/piwigo_logo_on_white.png)