login | register
Sun 14 of Mar, 2010 (14:05 UTC)

bitweaver - Web Application Framework and CMS

Web Application Framework and CMS

Refresh cacheRSS feedPrint

How do I include other package libraries and classes?

by Stephan Borg
Friday 01 of July, 2005
Posted to Developer's FAQ
You'd want to check that the package is installed, as some admins may not install everything.
if ($gTikiSystem->isPackageActive( 'categories' )) {
        include_once( CATEGORIES_PKG_PATH.'categ_lib.php');
        ... do something with categories...
}

Comments