Bug?
[email protected] Thu, 12 Jun 2003 23:53:40 -0700
| Newsgroups | gmane.comp.horde.giapeto |
|---|---|
| Message-ID | <[email protected]> |
While setting up Giapeto, I was going in circles trying to figure out why I
couldn't use it, then as soon as I configured horde categories everything
worked fine, now, while trying to learn more about the program I stumbled
accross this line of code in lib/Giapeto.php on line 53
if (!isset($conf['category']['driver'])) {
Horde::fatal(sprintf(_("You must configure a Category backend to use
%s."), $GLOBALS['registry']->getParam('name')), __FILE__, __LINE__);
}
I was thinking the default conf.php for horde sets $conf['category']['driver']
to equal 'none', this condition is always true, so how 'bout:
if (!isset($conf['category']['driver'] && $conf['category']['driver'] !=
'none'))
Or a better test to see if categories are configured correctly.
Rob Millerd
--
giapeto mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]