aboutsummaryrefslogtreecommitdiffstats
path: root/admin/create_listing_file.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/create_listing_file.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/create_listing_file.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/admin/create_listing_file.php b/admin/create_listing_file.php
index f3b816bbc..1a066a12e 100644
--- a/admin/create_listing_file.php
+++ b/admin/create_listing_file.php
@@ -1,5 +1,5 @@
<?php
-$prefixe_thumbnail = 'TN-';
+$prefix_thumbnail = 'TN-';
$conf['picture_ext'] = array ( 'jpg', 'gif', 'png', 'JPG', 'GIF', 'PNG' );
@@ -70,13 +70,13 @@ function is_image( $filename )
function TN_exists( $dir, $file )
{
- global $conf, $prefixe_thumbnail;
+ global $conf, $prefix_thumbnail;
$titre = get_filename_wo_extension( $file );
for ( $i = 0; $i < sizeof ( $conf['picture_ext'] ); $i++ )
{
- $base_tn_name = $dir.'/thumbnail/'.$prefixe_thumbnail.$titre.'.';
+ $base_tn_name = $dir.'/thumbnail/'.$prefix_thumbnail.$titre.'.';
$ext = $conf['picture_ext'][$i];
if ( is_file( $base_tn_name.$ext ) )
{
@@ -84,7 +84,7 @@ function TN_exists( $dir, $file )
}
}
echo 'The thumbnail is missing for '.$dir.'/'.$file;
- echo '-> '.$dir.'/thumbnail/'.$prefixe_thumbnail.$titre.'.xxx';
+ echo '-> '.$dir.'/thumbnail/'.$prefix_thumbnail.$titre.'.xxx';
echo ' ("xxx" can be : ';
for ( $i = 0; $i < sizeof ( $conf['picture_ext'] ); $i++ )
{