diff -u --recursive wordpress/index.php wordpress-patched/index.php --- wordpress/index.php 2004-04-28 08:26:49.000000000 +0100 +++ wordpress-patched/index.php 2004-06-10 19:06:28.165148794 +0100 @@ -52,7 +52,7 @@ --> - + diff -u --recursive wordpress/wp-blog-header.php wordpress-patched/wp-blog-header.php --- wordpress/wp-blog-header.php 2004-05-21 23:33:47.000000000 +0100 +++ wordpress-patched/wp-blog-header.php 2004-06-10 19:07:50.312688178 +0100 @@ -1,11 +1,11 @@ wp-config.php file. I need this before we can get started. Need more help? We got it. You can create a wp-config.php file through a web interface, but this doesn't work for all server setups. The safest way is to manually create the file."); -require_once(dirname(__FILE__).'/' . '/wp-config.php'); +require_once('./wp-config.php'); -require_once(dirname(__FILE__).'/' . 'wp-includes/wp-l10n.php'); +require_once('./wp-includes/wp-l10n.php'); // Process PATH_INFO, if set. $path_info = array(); diff -u --recursive wordpress/wp-comments-post.php wordpress-patched/wp-comments-post.php --- wordpress/wp-comments-post.php 2004-05-08 00:21:26.000000000 +0100 +++ wordpress-patched/wp-comments-post.php 2004-06-10 19:11:01.107295896 +0100 @@ -1,5 +1,5 @@ $v) { @@ -101,4 +101,4 @@ header("Location: $location"); } -?> \ No newline at end of file +?> diff -u --recursive wordpress/wp-includes/links-update-xml.php wordpress-patched/wp-includes/links-update-xml.php --- wordpress/wp-includes/links-update-xml.php 2004-05-05 07:44:59.000000000 +0100 +++ wordpress-patched/wp-includes/links-update-xml.php 2004-06-10 19:08:40.353682389 +0100 @@ -3,7 +3,7 @@ // Copyright (C) 2003 Mike Little -- mike@zed1.com // Get the path of our parent directory: -$parentpath = dirname(dirname(__FILE__)); +$parentpath = '../'; require_once($parentpath.'/wp-config.php'); @@ -171,4 +171,4 @@ //echo(''); } // end if updated cache file -?> \ No newline at end of file +?> diff -u --recursive wordpress/wp-includes/wp-l10n.php wordpress-patched/wp-includes/wp-l10n.php --- wordpress/wp-includes/wp-l10n.php 2004-05-21 04:26:12.000000000 +0100 +++ wordpress-patched/wp-includes/wp-l10n.php 2004-06-10 19:19:28.300477839 +0100 @@ -1,7 +1,9 @@ quit(); -?> \ No newline at end of file +?> diff -u --recursive wordpress/wp-pass.php wordpress-patched/wp-pass.php --- wordpress/wp-pass.php 2004-04-20 23:56:36.000000000 +0100 +++ wordpress-patched/wp-pass.php 2004-06-10 19:09:54.752435392 +0100 @@ -4,8 +4,8 @@ It doesn't need to connect to the DB, or do anything fancy at all. Yum. -- Matt */ -require(dirname(__FILE__) . '/wp-config.php'); +require('./wp-config.php'); setcookie('wp-postpass_'.$cookiehash, $_POST['post_password'], time()+60*60*24*30); header('Location: ' . $_SERVER['HTTP_REFERER']); -?> \ No newline at end of file +?> diff -u --recursive wordpress/wp-trackback.php wordpress-patched/wp-trackback.php --- wordpress/wp-trackback.php 2004-04-24 22:52:24.000000000 +0100 +++ wordpress-patched/wp-trackback.php 2004-06-10 19:10:30.886428793 +0100 @@ -1,5 +1,5 @@ \ No newline at end of file +?>