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

git-svn-id: http://svn.automattic.com/wordpress/trunk@14139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin
2010-04-18 06:14:45 +00:00
parent 0d0902e9e8
commit 6ec7cb4540
50 changed files with 139 additions and 139 deletions

View File

@@ -129,7 +129,7 @@ if ( !function_exists('json_encode') ) {
global $wp_json;
if ( !is_a($wp_json, 'Services_JSON') ) {
require_once( 'class-json.php' );
require_once( './class-json.php' );
$wp_json = new Services_JSON();
}
@@ -142,7 +142,7 @@ if ( !function_exists('json_decode') ) {
global $wp_json;
if ( !is_a($wp_json, 'Services_JSON') ) {
require_once( 'class-json.php' );
require_once( './class-json.php' );
$wp_json = new Services_JSON();
}