[#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 (5632 days ago)
Due
Updated 2004-04-16 (5608 days ago)
Assigned 2004-03-24 (5631 days ago)
Resolved 2004-04-16 (5608 days ago)
Milestone
Patch No

Comments
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.