Difference between revisions of "IMCE Fix"

From WolfTech
Jump to navigation Jump to search
Line 1: Line 1:
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):
+
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 467):
 
<pre>
 
<pre>
 
$temp = tempnam(realpath(file_directory_temp()), 'imc');
 
$temp = tempnam(realpath(file_directory_temp()), 'imc');

Revision as of 09:35, 18 December 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 467):

$temp = tempnam(realpath(file_directory_temp()), 'imc');

with:

//$temp = tempnam(realpath(file_directory_temp()), 'imc');
$temp = tempnam(file_directory_temp(), 'imc'); //WOLFTECH CHANGES MADE