login | register
Thu 20 of Nov, 2008 (14:38 UTC)

bitweaver - Web Application Framework and CMS

Web Application Framework and CMS

Refresh cache

How do I check if a Package is enabled?

by Stephan Borg
Friday 01 of July, 2005
Posted to Developer's FAQ
if ($gBitSystem->isPackageActive( 'articles' )) {
    Articles are active!
}


NOTE: if you wish to exit and display an error message, if package is not enabled, use:
$gBitSystem->verifyPackage( 'articles' );

Comments