login | register
Mon 08 of Sep, 2008 (04:25 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