Cube 2.1 friendly code for D3 module

Date 2006-09-05 05:21:58 | Category: XOOPS

in englishin japanese
- How to identify Cube2.1
	if( defined( 'XOOPS_CUBE_LEGACY' ) ) {

class_exists('XCUBE_ROOT') cannot distinguish Shade and Cube 2.1

- add preload/(class).class.php into ROOT_PATH side
D3 module should prepare preload/(class).class.php for the future.
Of course the file should be just a wrapper for TRUST_PATH side.

- outputs messages into oninstall/onupdate/onuninstall
You can use $log object as the second parameter of delegate ...
Legacy.Admin.Event.Module(Install|Update|Uninstall).Success

Thank you minahito!





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=359