projects
/
Packages
/
TYPO3.CMS.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed bug #5189: images with uppercase file extension aren't displayed in drag-n...
[Packages/TYPO3.CMS.git]
/
typo3
/
class.browse_links.php
diff --git
a/typo3/class.browse_links.php
b/typo3/class.browse_links.php
index
e2c86d5
..
3734d3d
100755
(executable)
--- a/
typo3/class.browse_links.php
+++ b/
typo3/class.browse_links.php
@@
-2,7
+2,7
@@
/***************************************************************
* Copyright notice
*
/***************************************************************
* Copyright notice
*
-* (c) 1999-200
5
Kasper Skaarhoj (kasperYYYY@typo3.com)
+* (c) 1999-200
7
Kasper Skaarhoj (kasperYYYY@typo3.com)
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
@@
-2026,13
+2026,13
@@
class browse_links {
// Fraverse files:
while(list(,$filepath)=each($files)) {
// Fraverse files:
while(list(,$filepath)=each($files)) {
- $fI
=
pathinfo($filepath);
+ $fI
=
pathinfo($filepath);
// URL of image:
$iurl = $this->siteURL.t3lib_div::rawurlencodeFP(substr($filepath,strlen(PATH_site)));
// Show only web-images
// URL of image:
$iurl = $this->siteURL.t3lib_div::rawurlencodeFP(substr($filepath,strlen(PATH_site)));
// Show only web-images
- if (t3lib_div::inList('gif,jpeg,jpg,png',
$fI['extension']))
{
+ if (t3lib_div::inList('gif,jpeg,jpg,png',
strtolower($fI['extension'])))
{
$imgInfo = @getimagesize($filepath);
$pDim = $imgInfo[0].'x'.$imgInfo[1].' pixels';
$imgInfo = @getimagesize($filepath);
$pDim = $imgInfo[0].'x'.$imgInfo[1].' pixels';
@@
-2392,4
+2392,4
@@
if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['typo3/class
}
}
-?>
\ No newline at end of file
+?>