aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/include/functions.php')
-rw-r--r--admin/include/functions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/include/functions.php b/admin/include/functions.php
index 0828f0e06..ee7068c18 100644
--- a/admin/include/functions.php
+++ b/admin/include/functions.php
@@ -15,11 +15,11 @@
* *
***************************************************************************/
-$tab_ext_create_TN = array ( 'jpg', 'png' );
+$tab_ext_create_TN = array ( 'jpg', 'png', 'JPG', 'PNG' );
function is_image( $filename, $create_thumbnail = false )
{
- global $conf;
+ global $conf, $tab_ext_create_TN;
if ( is_file ( $filename ) )
{