RE: Specifying Horde File Root

"Flanakin Michael C SSgt HQ SSG/ENED" <[email protected]> Wed, 8 Dec 2004 13:42:44 -0600
Newsgroups gmane.comp.horde.chora
Message-ID <4B797D6B8F959944ABB368EB397389A70640C3E6@fsjubj10.exchange.gunter.af.mil>
Based on that info, I guess a config/Horde.php file that would define
HORDE_BASE or would specify a variable to be read to define the
HORDE_BASE (probably the better option). Then lib/base.php would just
reference that file instead of setting the value directly.

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Chuck Hagenbuch
Sent: Wednesday, December 08, 2004 1:27 PM
To: [email protected]
Subject: Re: [chora] Specifying Horde File Root

Quoting Flanakin Michael C SSgt HQ SSG/ENED
<[email protected]>:

> I just moved Chora out of the Horde directory. In order to make this
> work, I had to change line 14 of base.php (defines HORDE_BASE). I
would
> prefer that this be moved to the config directory. What do you guys
> think about either adding a setting to the prefs.php, creating a new
> config file, or better yet add something into the conf.php for it. I
> imagine that not too many people have wanted to change this, but it is
> definitely a nice option to have in my opinion. The first two options
> are trivial, but I'd have no idea how to attack the third (although I
> haven't even tried to figure it out). Let me know what you guys think
> would be best and/or whether you think it's something even worthwhile.

It's a chicken and egg. prefs.php makes no sense and is included by 
Registry.php
(which you need HORDE_BASE to find). conf.php is included by 
Registry.php yadda
yadda. Where would you put it and how would you make it work?

-chuck

-- 
"But she goes not abroad in search of monsters to destroy." - John 
Quincy Adams
-- 
Chora mailing list - Join the hunt: http://horde.org/bounties/#chora
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]


-- 
Chora mailing list - Join the hunt: http://horde.org/bounties/#chora
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]