Skip to:
Content

BuddyPress.org

Changeset 808


Ignore:
Timestamp:
12/23/2008 03:45:51 AM (18 years ago)
Author:
apeatling
Message:

Modifying CSS loader to support symlink installations of the buddypress member theme.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/buddypress-theme/member-themes/buddypress-member/css/loader.php

    r658 r808  
    22
    33/* Load the WP environment */
    4 require_once( preg_replace('%(.*)[/\\\\]wp-content[/\\\\].*%', '\1', dirname( __FILE__ ) ) . '/wp-load.php' );
     4require_once( preg_replace('%(.*)[/\\\\]wp-content[/\\\\].*%', '\1', $_SERVER['SCRIPT_FILENAME'] ) . '/wp-load.php' );
    55
    66/* Set the content type to CSS */
Note: See TracChangeset for help on using the changeset viewer.