Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/18/2015 09:01:53 PM (10 years ago)
Author:
djpaul
Message:

Replace use of __DIR__ as it is not supported on PHP 5.2.

Fixes #6083 again.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/includes/define-constants.php

    r9316 r9514  
    2929        define( 'WP_ROOT_DIR', getenv( 'WP_DEVELOP_DIR' ) );
    3030    } else {
    31         define( 'WP_ROOT_DIR', dirname( dirname( dirname( dirname( dirname( dirname( dirname( __DIR__ ) ) ) ) ) ) ) );
     31        define( 'WP_ROOT_DIR', dirname( dirname( dirname( dirname( dirname( dirname( dirname( dirname( __FILE__ ) ) ) ) ) ) ) ) );
    3232    }
    3333
Note: See TracChangeset for help on using the changeset viewer.