SOURCES: drupal-sitesdir.patch (NEW), drupal-topdir.patch (NEW), d...
glen
glen at pld-linux.org
Wed Jul 6 17:45:33 CEST 2005
Author: glen Date: Wed Jul 6 15:45:33 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- drupal patches
---- Files affected:
SOURCES:
drupal-sitesdir.patch (NONE -> 1.1) (NEW), drupal-topdir.patch (NONE -> 1.1) (NEW), drupal-themedir2.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/drupal-sitesdir.patch
diff -u /dev/null SOURCES/drupal-sitesdir.patch:1.1
--- /dev/null Wed Jul 6 17:45:33 2005
+++ SOURCES/drupal-sitesdir.patch Wed Jul 6 17:45:28 2005
@@ -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--) {
================================================================
Index: SOURCES/drupal-topdir.patch
diff -u /dev/null SOURCES/drupal-topdir.patch:1.1
--- /dev/null Wed Jul 6 17:45:33 2005
+++ SOURCES/drupal-topdir.patch Wed Jul 6 17:45:28 2005
@@ -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';
================================================================
Index: SOURCES/drupal-themedir2.patch
diff -u /dev/null SOURCES/drupal-themedir2.patch:1.1
--- /dev/null Wed Jul 6 17:45:33 2005
+++ SOURCES/drupal-themedir2.patch Wed Jul 6 17:45:28 2005
@@ -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);
+ }
+ }
================================================================
More information about the pld-cvs-commit
mailing list