Changeset 31871


Ignore:
Timestamp:
06/30/17 10:57:06 (15 months 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.