[giapeto] Bug?
rmillerd at rmsm.net
rmillerd at rmsm.net
Thu Jun 12 23:53:40 PDT 2003
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
More information about the giapeto
mailing list