Changeset 2695 for trunk/bp-forums.php
- Timestamp:
- 02/12/2010 12:31:49 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-forums.php
r2678 r2695 21 21 22 22 $bp->forums->image_base = BP_PLUGIN_URL . '/bp-forums/images'; 23 $bp->forums->bbconfig = get_site_option( 'bb-config-location' );23 $bp->forums->bbconfig = $bp->site_options['bb-config-location']; 24 24 $bp->forums->slug = BP_FORUMS_SLUG; 25 25 … … 30 30 } 31 31 add_action( 'bp_setup_globals', 'bp_forums_setup' ); 32 add_action( 'admin_head', 'bp_forums_setup', 2 );33 32 34 33 function bp_forums_is_installed_correctly() { … … 51 50 52 51 if ( $bp->current_component == $bp->forums->slug ) { 53 if ( (int) get_site_option( 'bp-disable-forum-directory' )|| !function_exists( 'groups_install' ) )52 if ( (int) $bp->site_options['bp-disable-forum-directory'] || !function_exists( 'groups_install' ) ) 54 53 return false; 55 54
Note: See TracChangeset
for help on using the changeset viewer.