login | register
Thu 18 of Mar, 2010 (10:42 UTC)

bitweaver - Web Application Framework and CMS

Web Application Framework and CMS

Refresh cacheRSS feedPrint

How do I check if a Feature is enabled?

by Stephan Borg
Friday 01 of July, 2005
Posted to Developer's FAQ
if( $gBitSystem->isFeatureActive( 'feature_listPages' ) ) {
    Feature List Pages is active!
}


NOTE: if you wish exit and display an error message on failure, use:
$gBitSystem->verifyFeature( 'feature_listPages' );

Comments