Changeset 809
- Timestamp:
- 12/23/2008 03:46:13 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-ajax-handler.php
r631 r809 1 1 <?php 2 2 define('DOING_AJAX', true); 3 require_once( preg_replace('/(.*)\/wp-content\/.*/', '\1', dirname( __FILE__ )) . '/wp-load.php' );3 require_once( preg_replace('/(.*)\/wp-content\/.*/', '\1', $_SERVER['SCRIPT_FILENAME'] ) . '/wp-load.php' ); 4 4 5 5 add_filter( 'bp_uri', 'bp_core_referrer' );
Note: See TracChangeset
for help on using the changeset viewer.