[#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@horde.org
Requester eddie@omegaware.com
Created 2004-03-23 (5958 days ago)
Updated 2004-04-16 (5934 days ago)
Assigned 2004-03-24 (5957 days ago)
Resolved 2004-04-16 (5934 days ago)
Patch No

eddie@omegaware.com 2004-03-23 19:53:12
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).

Jan Schneider <jan@horde.org> 2004-03-24 22:14:22
Yes, most Util::getTempDir calls needs to be converted to 
Horde::getTempDir calls. It's already on my todo list for a while.

Jan Schneider <jan@horde.org> 2004-03-24 22:14:32

Jan Schneider <jan@horde.org> 2004-04-16 17:30:02
This has been fixed in CVS.