Difference between revisions of "IMCE Fix"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
<pre> | <pre> | ||
//$temp = tempnam(realpath(file_directory_temp()), 'imc'); | //$temp = tempnam(realpath(file_directory_temp()), 'imc'); | ||
− | $temp = file_directory_temp(); //WOLFTECH CHANGES MADE | + | $temp = tempnam(file_directory_temp(), 'imc'); //WOLFTECH CHANGES MADE |
</pre> | </pre> |
Revision as of 14:22, 30 June 2008
To allow IMCE to work on Drupal 6 on the Engineering Servers, you need to replace the following in modules/imce/inc/page.inc (line 462):
$temp = tempnam(realpath(file_directory_temp()), 'imc');
with:
//$temp = tempnam(realpath(file_directory_temp()), 'imc'); $temp = tempnam(file_directory_temp(), 'imc'); //WOLFTECH CHANGES MADE