[Tickets #6299] global $conf empty
bugs at horde.org
bugs at horde.org
Wed Feb 20 13:45:51 UTC 2008
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=6299
-----------------------------------------------------------------------
Ticket | 6299
Created By | bart-horde at xbar.net
Summary | global $conf empty
Queue | Horde Base
Version | 3.2-RC2
Type | Bug
State | Unconfirmed
Priority | 3. High
Milestone |
Patch |
Owners |
-----------------------------------------------------------------------
bart-horde at xbar.net (2008-02-20 08:45) wrote:
$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
More information about the bugs
mailing list