Skip to:
Content

BuddyPress.org

Changeset 4658


Ignore:
Timestamp:
07/14/2011 07:16:03 PM (15 years ago)
Author:
djpaul
Message:

Use is_file instead of file_exists to check that the bbconfig path points to a valid file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-forums/bp-forums-functions.php

    r4635 r4658  
    55    global $bp;
    66
    7     if ( isset( $bp->forums->bbconfig ) && file_exists( $bp->forums->bbconfig ) )
     7    if ( isset( $bp->forums->bbconfig ) && is_file( $bp->forums->bbconfig ) )
    88        return true;
    99
Note: See TracChangeset for help on using the changeset viewer.