Re: [Hampshire] [OT] Can anyone help me with some PHP?

Top Page

Reply to this message
Author: Vic
Date:  
To: hampshire
Subject: Re: [Hampshire] [OT] Can anyone help me with some PHP?
> Maybe you could post some extra lines (for context), someone might be
> able to figure it out.


OK...

I'm trying to get Enterprise Groupware System (
http://www.enterprisegroupwaresystem.org/ ) going.

It starts with index.php, which (almost immediately) does a

require_once ('./conf/config.php');

./conf/config.php does a few DEFINEs, then hits the line where it all goes
horribly wrong.

$employees[0] = _('None');

There really isn't much context to it. It does appear to be a gettext
thang, but the stuff I've found since originally posting (
http://www.php.net/gettext ) tells me stuff that clearly isn't the case
here. And I've no idea whether or not it should be, on the grounds that
I'm a C programmer, not a PHP bod.

Vic.