]> git.pld-linux.org Git - packages/drupal.git/commitdiff
- drupal patches
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 6 Jul 2005 15:45:28 +0000 (15:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    drupal-sitesdir.patch -> 1.1
    drupal-themedir2.patch -> 1.1
    drupal-topdir.patch -> 1.1

drupal-sitesdir.patch [new file with mode: 0644]
drupal-themedir2.patch [new file with mode: 0644]
drupal-topdir.patch [new file with mode: 0644]

diff --git a/drupal-sitesdir.patch b/drupal-sitesdir.patch
new file mode 100644 (file)
index 0000000..0ef0a75
--- /dev/null
@@ -0,0 +1,12 @@
+diff -ur ./includes/bootstrap.inc ../drupal1/includes/bootstrap.inc
+--- ./includes/bootstrap.inc   2005-04-05 22:00:24.000000000 +0300
++++ ./drupal1/includes/bootstrap.inc   2005-05-19 18:20:06.845355509 +0300
+@@ -48,7 +48,7 @@
+     return $conf;
+   }
+-  $confdir = 'sites';
++  $confdir = '/etc/drupal/sites';
+   $uri = explode('/', $_SERVER['PHP_SELF']);
+   $server = explode('.', rtrim($_SERVER['HTTP_HOST'], '.'));
+   for ($i = count($uri) - 1; $i > 0; $i--) {
diff --git a/drupal-themedir2.patch b/drupal-themedir2.patch
new file mode 100644 (file)
index 0000000..ca02b1b
--- /dev/null
@@ -0,0 +1,11 @@
+--- ../includes/theme.inc      2005-05-20 16:55:04.000000000 +0300
++++ /tmp/theme.inc     2005-05-21 15:10:45.000000000 +0300
+@@ -74,7 +74,7 @@
+   else {
+     // File is a template/theme
+     // Load its CSS, if it exists
+-    if (file_exists($stylesheet = dirname($themes[$theme]->filename) .'/style.css')) {
++    if (file_exists('htdocs/' . ($stylesheet = dirname($themes[$theme]->filename) .'/style.css'))) {
+       theme_add_style($stylesheet);
+     }
+   }
diff --git a/drupal-topdir.patch b/drupal-topdir.patch
new file mode 100644 (file)
index 0000000..128a82f
--- /dev/null
@@ -0,0 +1,10 @@
+--- ./index.php~       2004-08-21 09:42:34.000000000 +0300
++++ ./index.php        2005-05-20 14:10:24.260339523 +0300
+@@ -9,6 +9,7 @@
+  * prints the appropriate page.
+  */
++chdir('..');
+ include_once 'includes/bootstrap.inc';
+ drupal_page_header();
+ include_once 'includes/common.inc';
This page took 0.04065 seconds and 4 git commands to generate.