Changeset 31871 for extensions/lightbox


Ignore:
Timestamp:
Jun 30, 2017, 10:57:06 AM (7 years ago)
Author:
plg
Message:

compatibility 2.9: force lower case on file extension

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/lightbox/functions.inc.php

    r29798 r31871  
    66  global $conf, $pwg_loaded_plugins;
    77 
    8   $ext = get_extension($picture['file']);
     8  $ext = strtolower(get_extension($picture['file']));
    99  if (!empty($pwg_loaded_plugins['gvideo']) and $picture['is_gvideo'])
    1010  {
Note: See TracChangeset for help on using the changeset viewer.