Make WordPress Core


Ignore:
Timestamp:
04/18/2010 06:14:45 AM (16 years ago)
Author:
nacin
Message:

Use relative paths when including files, avoiding include_path. fixes #12594, props sorich87.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/compat.php

    r13863 r14139  
    130130
    131131                if ( !is_a($wp_json, 'Services_JSON') ) {
    132                         require_once( 'class-json.php' );
     132                        require_once( './class-json.php' );
    133133                        $wp_json = new Services_JSON();
    134134                }
     
    143143
    144144                if ( !is_a($wp_json, 'Services_JSON') ) {
    145                         require_once( 'class-json.php' );
     145                        require_once( './class-json.php' );
    146146                        $wp_json = new Services_JSON();
    147147                }
Note: See TracChangeset for help on using the changeset viewer.