- 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!