Bug #23193 » bug_15133_v2.diff
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;
|
||
}
|