mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-10-30 21:52:00 +01:00
related to #1657 replaced is_svg by file and path ext
This commit is contained in:
1 parent
034bea49b2
commit
a2db81c6e8
1 file changed
+2
-1
+2
-1
@@ -508,7 +508,8 @@ while ($row = pwg_db_fetch_assoc($result))
|
||||
$row['derivatives'] = DerivativeImage::get_all($row['src_image']);
|
||||
|
||||
$extTab = explode('.',$row['path']);
|
||||
$row['is_svg'] = (strtoupper(end($extTab)) == 'SVG');
|
||||
$row['path_ext'] = strtolower(get_extension($row['path']));
|
||||
$row['file_ext'] = strtolower(get_extension($row['file']));
|
||||
|
||||
if ($i=='current')
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user