login | register
Mon 06 of Oct, 2008 (13:39 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