[Tickets #6299] Re: global $conf empty
bugs at horde.org
bugs at horde.org
Mon Feb 25 16:29:29 UTC 2008
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://dev.horde.org/horde/whups/ticket/?id=6299
-----------------------------------------------------------------------
Ticket | 6299
Updated By | Michael Rubinsky <mrubinsk at horde.org>
Summary | global $conf empty
Queue | Horde Base
Version | 3.2-RC2
Type | Bug
State | Feedback
Priority | 2. Medium
Milestone |
Patch |
Owners |
-----------------------------------------------------------------------
Michael Rubinsky <mrubinsk at horde.org> (2008-02-25 11:29) wrote:
> So it works in apps, but not in Horde, right?
The issue I'm referring to occurs in any application context. To see what
I mean, set $conf['tmpdir'] to something other than your system default.
Set $conf[cache][params][dir] to Horde::getTempDir() (while using file
based cache).
Then from admin->php shell try the following
echo $conf['tmpdir']; // This will show the correct value that you set.
echo $conf['cache']['params']['dir']; // This will incorrectly show the
system's default tmp directory.
echo Horde::getTempDir(); // This will correctly show the conigured horde
tmpdir default, since it's being executed after the app has been loaded in
the registry.
More information about the bugs
mailing list