[horde] Registry.php / Horde.php Problem

Sascha sascha at antisec.de
Sat Jun 8 15:03:55 PDT 2002


On Sat, Jun 08, 2002 at 05:34:10PM -0400, Chuck Hagenbuch wrote:
> 
> What do you mean by more or less?
> 

Trying to get Horde/IMP working. :)


> > Line 5 of my Registry.php also says "require_once dirname(__FILE__) .
> > '/Horde.php';"
> 
> You might want to write a small script to see if dirname(__FILE__) returns 
> the right thing; a very few people on certain platforms (I think Solaris) 
> have had problems with this. If you find the same thing, get a different 
> version of PHP, since that's where the trouble is.

I'm running OpenBSD 3.1. Well, how to check what dirname(__FILE__) does return?


> > i didn't edit any of these, is this necessary? Wasn't mentioned in the
> > INSTALL.
> 
> No, not necessary.
> 

Fine. :)


> > I've Horde installed in /home/www/mydomain.tld/www/horde/ & IMP in
> > /home/www/mydomain.tld/www/imp -
> 
> This is fine, but you need to make sure that the HORDE_BASE constant, 
> defined in imp/lib/base.php, uses the correct path if you switch things 
> around like this. You should also make sure that the entries for IMP in 
> horde/config/registry.php have the right path.
> 

I've moved IMP from /home/www/mydomain.tld/www/imp to /home/www/mydomain.tld/www/horde/imp,
so it should be the default paths.
$this->applications['imp'] = array(
     'fileroot' => dirname(__FILE__) . '/../imp',


regards,
 -sascha


More information about the horde mailing list