login | register
Tue 18 of Nov, 2008 (15:36 UTC)

bitweaver - Web Application Framework and CMS

Web Application Framework and CMS

Refresh cache

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