diff options
author | Cash Costello <cash.costello@gmail.com> | 2009-05-19 00:30:56 +0000 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2009-05-19 00:30:56 +0000 |
commit | 8f53a8a14634260a9c188b8ca8cefd8c671bf6c5 (patch) | |
tree | e0d29d95c6ebc98fbbe9f6951808c14e6d0ca02a /actions | |
parent | 718a5bffa4902f712f9cf9923172a0c1dc641d70 (diff) | |
download | elgg-8f53a8a14634260a9c188b8ca8cefd8c671bf6c5.tar.gz elgg-8f53a8a14634260a9c188b8ca8cefd8c671bf6c5.tar.bz2 |
fixed bug with deletion of watermark foreground mask
Diffstat (limited to 'actions')
-rw-r--r-- | actions/upload.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/upload.php b/actions/upload.php index 78d4b7889..fae8f8eae 100644 --- a/actions/upload.php +++ b/actions/upload.php @@ -183,7 +183,7 @@ $commands[] = $im_path . 'composite -compose CopyOpacity "' . $user_stamp_base . "_mask" . $ext . '" "' . $user_stamp_base . '_fgnd' . $ext . '" "' . $user_stamp_base . $ext . '"';
$commands[] = $im_path . 'mogrify -trim +repage "' . $user_stamp_base . $ext . '"';
$commands[] = 'rm "' . $user_stamp_base . '_mask' . $ext . '"';
- $commands[] = 'rm "' . $user_stamp_fgnd . '_mask' . $ext . '"';
+ $commands[] = 'rm "' . $user_stamp_base . '_fgnd' . $ext . '"';
foreach( $commands as $command ) {
exec( $command );
|