--- drupal-5.0/index.php~ 2007-01-26 13:07:22.769199912 +0200 +++ drupal-5.0/index.php 2007-01-26 13:07:59.610031940 +0200 @@ -9,6 +9,7 @@ * prints the appropriate page. */ +chdir('..'); require_once './includes/bootstrap.inc'; drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); --- drupal-5.0/xmlrpc.php~ 2007-01-26 13:08:33.010786268 +0200 +++ drupal-5.0/xmlrpc.php 2007-01-26 13:08:53.461248124 +0200 @@ -6,6 +6,7 @@ * PHP page for handling incoming XML-RPC requests from clients. */ +chdir('..'); include_once './includes/bootstrap.inc'; drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); include_once './includes/xmlrpc.inc'; --- drupal-6.16/update.php~ 2010-05-04 18:32:33.000000000 +0300 +++ drupal-6.16/update.php 2010-05-04 18:32:53.539378793 +0300 @@ -563,6 +563,7 @@ // Our custom error handler is not yet installed, so we just suppress them. ini_set('display_errors', FALSE); +chdir('..'); require_once './includes/bootstrap.inc'; // We only load DRUPAL_BOOTSTRAP_CONFIGURATION for the update requirements