Skip to:
Content

BuddyPress.org

Ticket #5702: 5702.patch

File 5702.patch, 556 bytes (added by imath, 9 years ago)
  • bp-loader.php

    diff --git bp-loader.php bp-loader.php
    index b1a1c1f..a4bbf27 100644
     
    2525if ( ! defined( 'ABSPATH' ) ) exit;
    2626
    2727// Assume you want to load from build
    28 $bp_loader = __DIR__ . '/build/bp-loader.php';
     28$bp_loader = dirname( __FILE__ ) . '/build/bp-loader.php';
    2929
    3030// Load from source if no build exists
    3131if ( ! file_exists( $bp_loader ) || defined( 'BP_LOAD_SOURCE' ) ) {
    32         $bp_loader = __DIR__ . '/src/bp-loader.php';
     32        $bp_loader = dirname( __FILE__ ) . '/src/bp-loader.php';
    3333}
    3434
    3535// Include BuddyPress