6.0.0-alpha10
5/15/25

[#26] Util::getTempDir fails to get a tempdir
Summary Util::getTempDir fails to get a tempdir
Queue Horde Framework Packages
Type Bug
State Resolved
Priority 2. Medium
Owners jan (at) horde (dot) org
Requester eddie (at) omegaware (dot) com
Created 03/23/2004 (7723 days ago)
Due
Updated 04/16/2004 (7699 days ago)
Assigned 03/24/2004 (7722 days ago)
Resolved 04/16/2004 (7699 days ago)
Milestone
Patch No

History
04/16/2004 05:30:02 PM Jan Schneider Comment #3
State ⇒ Resolved
Reply to this comment
This has been fixed in CVS.
03/24/2004 10:14:32 PM Jan Schneider Priority ⇒ 2. Medium
 
03/24/2004 10:14:22 PM Jan Schneider Comment #2
State ⇒ Assigned
Priority ⇒ 1. Low
Assigned to Jan Schneider
Reply to this comment
Yes, most Util::getTempDir calls needs to be converted to 
Horde::getTempDir calls. It's already on my todo list for a while.
03/23/2004 07:53:12 PM eddie (at) omegaware (dot) com Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Reply to this comment
i have open_basedir set so the files accesible by PHP are limited to 
only the webroot. I have set the $conf['tmpdir'] to an appropriate 
temp directory accessible from PHP. And right now I am trying to get 
enscript to run, but am running into problems where getTempFile does 
not return a filename, as getTempDir does not return a temp 
directory.. I do not have upload_tmp_dir set for this webroot, but 
shouldn't the getTempDir look at the $conf['tmpdir'] or have the 
enscript.php (and the like) pass the $conf['tmpdir'] to the 
getTempFile call? Otherwise I have to set my temp directory in a half 
dozen places within the horde  and chora configuration (only modules 
I'm using off of CVS).

Saved Queries