? writability-225880-1.patch
? modules/special.info
? modules/special.module
? sites/all/files
? sites/all/modules
? sites/default/modules
? sites/default/settings.php
Index: install.php
===================================================================
RCS file: /cvs/drupal/drupal/install.php,v
retrieving revision 1.116
diff -u -p -r1.116 install.php
--- install.php 10 Feb 2008 19:03:47 -0000 1.116
+++ install.php 24 Feb 2008 03:15:14 -0000
@@ -872,18 +872,18 @@ function install_check_requirements($pro
// Verify that the directory exists.
if (drupal_verify_install_file($conf_path, FILE_EXIST, 'dir')) {
// Check to see if a settings.php already exists.
+ $file = $settings_file;
+ $exists = FALSE;
if (drupal_verify_install_file($settings_file, FILE_EXIST)) {
+ $exists = TRUE;
// If it does, make sure it is writable.
$writable = drupal_verify_install_file($settings_file, FILE_READABLE|FILE_WRITABLE);
- $file = $settings_file;
- }
- else {
- // If not, make sure the directory is.
- $writable = drupal_verify_install_file($conf_path, FILE_READABLE|FILE_WRITABLE, 'dir');
}
}
-
- if (!$writable) {
+ if (!$exists) {
+ drupal_set_message(st('The @drupal installer requires that you create %file as part of the installation process, and then make it writable. If you are unsure how to grant file permissions, please consult the on-line handbook.', array('@drupal' => drupal_install_profile_name(), '%file' => $file, '@handbook_url' => 'http://drupal.org/server-permissions')), 'error');
+ }
+ elseif (!$writable) {
drupal_set_message(st('The @drupal installer requires write permissions to %file during the installation process. If you are unsure how to grant file permissions, please consult the on-line handbook.', array('@drupal' => drupal_install_profile_name(), '%file' => $file, '@handbook_url' => 'http://drupal.org/server-permissions')), 'error');
}
}
Index: sites/default/default.settings.php
===================================================================
RCS file: /cvs/drupal/drupal/sites/default/default.settings.php,v
retrieving revision 1.8
diff -u -p -r1.8 default.settings.php
--- sites/default/default.settings.php 20 Dec 2007 09:35:10 -0000 1.8
+++ sites/default/default.settings.php 24 Feb 2008 03:15:14 -0000
@@ -90,7 +90,7 @@
* $db_url = 'mysqli://username:password@localhost/databasename';
* $db_url = 'pgsql://username:password@localhost/databasename';
*/
-$db_url = 'mysql://username:password@localhost/databasename';
+$db_url = '';
$db_prefix = '';
/**