changeset 1054:c050354b0270

Merged.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 21 Nov 2015 17:16:52 +0200
parents fb5a468e647d (current diff) e706cbcaf566 (diff)
children 86f6a6191749
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/faptool.php	Sat Nov 21 17:01:59 2015 +0200
+++ b/faptool.php	Sat Nov 21 17:16:52 2015 +0200
@@ -576,7 +576,7 @@
     if (wtMakeDir($dstPath, 0755) === false)
       return FALSE;
 
-    $dstFilename = stMakePath(FALSE, FALSE, array($dstPath, $dstFileBase));
+    $dstFilename = stMakePath(FALSE, FALSE, array($dstPath, wtCropFilename($efile["origname"], $cropNames)));
     if (copy($filename, $dstFilename) === false)
     {
       echo "ERROR: Failed to copy '".$filename."' to '".$dstFilename."'\n";