[horde] Setup first install of horde
Brent J. Nordquist
bjn at horde.org
Sun Nov 18 03:23:26 PST 2001
On Sun, 18 Nov 2001, Harold Worby <h.worby at kinsey.com> wrote:
> Fatal error: Call to undefined function: _() in
> /usr/local/apache/htdocs/dev/horde-2.0-RC1/config/registry.php on line 27
>
> 2. ??? _("Horde") ??? what's this?
> Is _() intended to be a function referance, or what.
Yes... just a conveniently short one. :-) That's gettext; your PHP needs
to be compiled --with-gettext.
> $this->applications['horde'] = array(
> 'fileroot' => dirname(__FILE__) . '/..',
> 'webroot' => '/horde',
>
> where the above block of code defines an array with 'fileroot',
> 'webroot',... as subcripts and 'irname(__FILE__)/..','/horde',... are the
> values?
Right; this is array subscripting.
> such that:
> $x = $this->applications['horde']['webroot']
> yeilds
> $x = '/horde'
You've got it.
--
Brent J. Nordquist <bjn at horde.org> N0BJN / OPN: #horde
Yahoo!: Brent_Nordquist / AIM: BrentJNordquist / ICQ: 76158942
More information about the horde
mailing list