[wp-trac] Re: [WordPress Trac] #6699: get_temp_dir() should be more
flexible
WordPress Trac
wp-trac at lists.automattic.com
Sat Jun 20 19:06:40 GMT 2009
#6699: get_temp_dir() should be more flexible
----------------------------+-----------------------------------------------
Reporter: RoyalKnight | Owner: anonymous
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.9
Component: Administration | Version: 2.5
Severity: normal | Keywords: has-patch 2nd-opinion
----------------------------+-----------------------------------------------
Comment(by sirzooro):
On Windows usually there is no /tmp/ dir. You should check TEMP and TMP
environment variables - if they exists, use them instead of returning
/tmp.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/6699#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list