Config's imcompatibility of XOOPS 2.2

Date 2005-12-01 12:27:28 | Category: XOOPS

in englishin japanese

In XOOPS 2.2.x, configs for system has conf_modid=1.
In other versions of XOOPS, configs for system for system has conf_modid=0.

(In my opinion, conf_modid should be 1.)

This imcompatibility sometimes cause fatal errors.

Thus, if you want to get config handler for system:

$criteria = new CriteriaCompo(new Criteria('conf_modid', 0));
$criteria = new CriteriaCompo(new Criteria('conf_modid', 2, '<'));

This is the compatible code for both XOOPS 2.2.x and XOOPS-JP





You can read more news at PEAK XOOPS.
http://xoops.peak.ne.jp

The URL for this story is:
http://xoops.peak.ne.jp/md/news/index.php?page=article&storyid=73