Closed (fixed)
Project:
Drupal core
Version:
x.y.z
Component:
system.module
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Oct 2005 at 09:36 UTC
Updated:
4 Feb 2006 at 07:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
asimmonds commentedCould we do something like this patch?
What I don't know is, what's the most common temp directory environment variable on a windows platform TEMP or TMP?
Comment #2
Thox commentedI admit that might solve the problem in my case, but is it the wrong way around to fix things? Regardless of the value of the field, it should never prevent you from changing it simply because it can't find a folder.
FYI, my Win2k system here has TMP and TEMP both set.
Comment #3
Geary commentedThe code should not contain any hard coded paths whatsoever. With the patch, the code still defaults to c:\windows\temp if the TEMP environment variable is not found. This is completely wrong. There is *no* standard default temp directory on Windows. If Drupal cannot find the correct temp directory, it should refuse to run, not take a wild guess like this.
Comment #4
Geary commentedHmm... When running PHP under XAMPP on Windows, the $_ENV array is empty! This is not promising...
Comment #5
asimmonds commentedIMO, this (http://drupal.org/node/26249) solution is better and it's not dependent on environmental variables.
Comment #6
Bèr Kessels commentedhttp://drupal.org/node/35575 is the same bug, I think.
Comment #7
dopry commentedfixed by bug -> node/35575.
Comment #8
(not verified) commented