aboutsummaryrefslogtreecommitdiffstats
path: root/admin/thumbnail.php
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2003-05-27 20:56:13 +0000
committerz0rglub <z0rglub@piwigo.org>2003-05-27 20:56:13 +0000
commit0b6204e5fbebb7dc14bfe47e598f53d241c21b97 (patch)
tree4e457a986c6b177b6c0202b8571f9eda93afa88e /admin/thumbnail.php
parent4ac5b8f83f3b27b508be0cdf907eb8b083c251e5 (diff)
*** empty log message ***
git-svn-id: http://piwigo.org/svn/trunk@19 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/thumbnail.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/thumbnail.php b/admin/thumbnail.php
index e68ee2407..72f384a45 100644
--- a/admin/thumbnail.php
+++ b/admin/thumbnail.php
@@ -159,7 +159,7 @@ function RatioResizeImg( $image, $newWidth, $newHeight, $path, $extension)
umask(0000);
mkdir( $path."thumbnail", 0777 );
}
- $dest_file = $path."thumbnail/".$conf['prefixe_thumbnail'].substr ( $image, 0, strrpos ( $image, ".") ).".".$extension;
+ $dest_file = $path."thumbnail/".$conf['prefix_thumbnail'].substr ( $image, 0, strrpos ( $image, ".") ).".".$extension;
// création et sauvegarde de l'image finale
imagejpeg($destImage, $dest_file);
@@ -177,7 +177,7 @@ function RatioResizeImg( $image, $newWidth, $newHeight, $path, $extension)
'width' => $taille_image[0],
'height' => $taille_image[1],
'size' => $size,
- 'tn_name' => $conf['prefixe_thumbnail'].substr ( $image, 0, strrpos ( $image, ".") ).".".$extension,
+ 'tn_name' => $conf['prefix_thumbnail'].substr ( $image, 0, strrpos ( $image, ".") ).".".$extension,
'tn_width' => $tn_taille_image[0],
'tn_height' => $tn_taille_image[1],
'tn_size' => $tn_size