6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
11/8/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#6299] global $conf empty
*
Your Email Address
*
Spam protection
Enter the letters below:
. ,.__ .__.._. __ \./ [__)| | | / ` | [__)|__|_|_\__.
Comment
> $conf seems to be empty when Horde::getTempDir() is executed, except > while accessing the Administration/Setup, in that case it actually > contains the variables from conf.php. In all other cases > Util::getTempDir() is executed because of $conf being empty. > > > > i noticed this when Horde cache files were being written in the php > upload_tmp_dir, while they should be in $conf['tmpdir']. > Util::getTempDir() falls back to php's upload_tmp_dir whenever it > can't find $config['tmpdir'], therefor the cache files are in the > wrong directory. > > > > i changed Horde::getTempDir() to print_r $conf whenever it's being > called, and so far I only saw output generated when accessing the > Administration/Setup and also when attaching a file to a message in > IMP. in this case the the file also resides in $config['tmpdir'] just > untill the message has been sent (which is correct behavior imho). > > > > I'm using the latest RC2 version of Horde/IMP
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers