aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2003-05-18 21:42:32 +0000
committerz0rglub <z0rglub@piwigo.org>2003-05-18 21:42:32 +0000
commitaac81a8a382f7ec527e22d6dee959400d77e1a21 (patch)
treeb51b5180e85326af0cfebf88bcad005ba93d5118 /admin/include
parent2c2af65b6a95e20ba9ca49139683d2d150edb1b6 (diff)
*** empty log message ***
git-svn-id: http://piwigo.org/svn/trunk@14 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/include')
-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 ) )
{