# HG changeset patch # User Matti Hamalainen # Date 1448119012 -7200 # Node ID c050354b0270fd3bb06d03bf3aa6e431e7a1b87f # Parent fb5a468e647df9c8096a9556bc22b7ed7824205e# Parent e706cbcaf566e997646241df517477f13b3514f6 Merged. diff -r fb5a468e647d -r c050354b0270 faptool.php --- 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";