Project

General

Profile

Bug #23193 » bug_15133_v2.diff

Administrator Admin, 2010-07-25 21:37

View differences:

t3lib/class.t3lib_stdgraphic.php (working copy)
$this->IM_commands[] = array($output,$cmd);
$ret = exec($cmd);
t3lib_div::fixPermissions($output); // Change the permissions of the file
t3lib_div::fixPermissions(t3lib_div::getFileAbsFileName($output, FALSE)); // Change the permissions of the file
return $ret;
}
......
$this->IM_commands[] = Array ($output,$cmd);
$ret = exec($cmd);
t3lib_div::fixPermissions($output); // Change the permissions of the file
t3lib_div::fixPermissions(t3lib_div::getFileAbsFileName($output, FALSE)); // Change the permissions of the file
if (is_file($theMask)) {
@unlink($theMask);
......
break;
}
if ($result) {
t3lib_div::fixPermissions($theImage);
t3lib_div::fixPermissions(t3lib_div::getFileAbsFileName($theImage, FALSE));
}
return $result;
}
(5-5/7)