]> git.pld-linux.org Git - packages/drupal.git/blob - drupal-topdir.patch
- Up to 6.20, NT
[packages/drupal.git] / drupal-topdir.patch
1 --- drupal-5.0/index.php~       2007-01-26 13:07:22.769199912 +0200
2 +++ drupal-5.0/index.php        2007-01-26 13:07:59.610031940 +0200
3 @@ -9,6 +9,7 @@
4   * prints the appropriate page.
5   */
6  
7 +chdir('..');
8  require_once './includes/bootstrap.inc';
9  drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
10  
11 --- drupal-5.0/xmlrpc.php~      2007-01-26 13:08:33.010786268 +0200
12 +++ drupal-5.0/xmlrpc.php       2007-01-26 13:08:53.461248124 +0200
13 @@ -6,6 +6,7 @@
14   * PHP page for handling incoming XML-RPC requests from clients.
15   */
16  
17 +chdir('..');
18  include_once './includes/bootstrap.inc';
19  drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
20  include_once './includes/xmlrpc.inc';
21 --- drupal-6.16/update.php~     2010-05-04 18:32:33.000000000 +0300
22 +++ drupal-6.16/update.php      2010-05-04 18:32:53.539378793 +0300
23 @@ -563,6 +563,7 @@
24  // Our custom error handler is not yet installed, so we just suppress them.
25  ini_set('display_errors', FALSE);
26  
27 +chdir('..');
28  require_once './includes/bootstrap.inc';
29  
30  // We only load DRUPAL_BOOTSTRAP_CONFIGURATION for the update requirements
This page took 0.058724 seconds and 4 git commands to generate.