diff --git a/README.txt b/README.txt index 3a6b224..5e49ac4 100644 --- a/README.txt +++ b/README.txt @@ -38,8 +38,7 @@ More about configuration: See INSTALL.txt and UPGRADE.txt in the "core" directory. * Learn about how to use Drupal to create your site: http://drupal.org/documentation - * Download contributed modules to sites/all/modules to extend Drupal's - functionality: + * Download contributed modules to /modules to extend Drupal's functionality: http://drupal.org/project/modules * See also: "Developing for Drupal" for writing your own modules, below. @@ -52,8 +51,7 @@ themes. More themes are available for download, and you can also create your own custom theme. More about themes: - * Download contributed themes to sites/all/themes to modify Drupal's - appearance: + * Download contributed themes to /themes to modify Drupal's appearance: http://drupal.org/project/themes * Develop your own theme: http://drupal.org/documentation/theme diff --git a/core/INSTALL.txt b/core/INSTALL.txt index f7ee23c..61747af 100644 --- a/core/INSTALL.txt +++ b/core/INSTALL.txt @@ -309,9 +309,9 @@ more at http://drupal.org/project/modules and http://drupal.org/project/themes Do not mix downloaded or custom modules and themes with Drupal's core modules and themes. Drupal's modules and themes are located in the top-level modules and themes directories, while the modules and themes you add to Drupal are normally -placed in the sites/all/modules and sites/all/themes directories. If you run a -multisite installation, you can also place modules and themes in the -site-specific directories -- see the Multisite Configuration section, below. +placed in the /modules and /themes directories. If you run a multisite +installation, you can also place modules and themes in the site-specific +directories -- see the Multisite Configuration section, below. Never edit Drupal's core modules and themes; instead, use the hooks available in the Drupal API. To modify the behavior of Drupal, develop a module as described diff --git a/core/UPGRADE.txt b/core/UPGRADE.txt index b8526cf..1f11185 100644 --- a/core/UPGRADE.txt +++ b/core/UPGRADE.txt @@ -172,9 +172,9 @@ following the instructions in the INTRODUCTION section at the top of this file: If you made modifications to files like .htaccess or robots.txt, you will need to re-apply them from your backup, after the new files are in place. -10. If you uninstalled any modules, remove them from the sites/all/modules and - other sites/*/modules directories. Leave other modules in place, even though - they are incompatible with Drupal 8.x. +10. If you uninstalled any modules, remove them from the /modules and other + sites/*/modules directories. Leave other modules in place, even though they + are incompatible with Drupal 8.x. 11. Download the latest Drupal 8.x release from http://drupal.org to a directory outside of your web root. Extract the archive and copy the files diff --git a/core/includes/bootstrap.inc b/core/includes/bootstrap.inc index 43cc27e..47aacbd 100644 --- a/core/includes/bootstrap.inc +++ b/core/includes/bootstrap.inc @@ -449,30 +449,20 @@ function conf_path($require_settings = TRUE, $reset = FALSE) { * @see conf_path() */ function find_conf_path($http_host, $script_name, $require_settings = TRUE) { - $confdir = 'sites'; - + $conf_path = ''; + if (!file_exists(DRUPAL_ROOT . '/sites.php')) { + return $conf_path; + } $sites = array(); - if (file_exists(DRUPAL_ROOT . '/' . $confdir . '/sites.php')) { - // This will overwrite $sites with the desired mappings. - include(DRUPAL_ROOT . '/' . $confdir . '/sites.php'); - } - - $uri = explode('/', $script_name); - $server = explode('.', implode('.', array_reverse(explode(':', rtrim($http_host, '.'))))); - for ($i = count($uri) - 1; $i > 0; $i--) { - for ($j = count($server); $j > 0; $j--) { - $dir = implode('.', array_slice($server, -$j)) . implode('.', array_slice($uri, 0, $i)); - if (isset($sites[$dir]) && file_exists(DRUPAL_ROOT . '/' . $confdir . '/' . $sites[$dir])) { - $dir = $sites[$dir]; - } - if (file_exists(DRUPAL_ROOT . '/' . $confdir . '/' . $dir . '/settings.php') || (!$require_settings && file_exists(DRUPAL_ROOT . '/' . $confdir . '/' . $dir))) { - $conf = "$confdir/$dir"; - return $conf; - } + // This will overwrite $sites with the desired mappings. + include DRUPAL_ROOT . '/sites.php'; + if (isset($sites[$http_host])) { + $path = DRUPAL_ROOT . '/sites/' . $sites[$http_host]; + if ((file_exists($path . '/settings.php')) || (!$require_settings && file_exists($path))) { + $conf_path = 'sites/' . $sites[$http_host] . '/'; } } - $conf = "$confdir/default"; - return $conf; + return $conf_path; } /** @@ -486,10 +476,10 @@ function config_get_config_directory() { if ($test_prefix = drupal_valid_test_ua()) { // @see Drupal\simpletest\WebTestBase::setUp() - $path = conf_path() . '/files/simpletest/' . substr($test_prefix, 10) . '/config'; + $path = conf_path() . 'files/simpletest/' . substr($test_prefix, 10) . '/config'; } else { - $path = conf_path() . '/files/' . $config_directory_name; + $path = conf_path() . 'files/' . $config_directory_name; } return $path; } @@ -687,8 +677,8 @@ function drupal_settings_initialize() { // Make conf_path() available as local variable in settings.php. $conf_path = conf_path(); - if (file_exists(DRUPAL_ROOT . '/' . $conf_path . '/settings.php')) { - include_once DRUPAL_ROOT . '/' . $conf_path . '/settings.php'; + if (file_exists(DRUPAL_ROOT . '/' . $conf_path . 'settings.php')) { + include_once DRUPAL_ROOT . '/' . $conf_path . 'settings.php'; } $is_https = isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) == 'on'; @@ -808,8 +798,8 @@ function drupal_settings_initialize() { * configuration. For example, a module 'foo' may legally be be located * in any of these three places: * + * core/modules/foo/foo.module * modules/foo/foo.module - * sites/all/modules/foo/foo.module * sites/example.com/modules/foo/foo.module * * Calling drupal_get_filename('module', 'foo') will give you one of @@ -3579,7 +3569,7 @@ function drupal_php_storage($name = 'default') { $configuration['bin'] = $name; } if (!isset($configuration['directory'])) { - $configuration['directory'] = DRUPAL_ROOT . '/' . variable_get('file_public_path', conf_path() . '/files') . '/php'; + $configuration['directory'] = DRUPAL_ROOT . '/' . variable_get('file_public_path', conf_path() . 'files') . '/php'; } $storage_controllers[$name] = new $class($configuration); } diff --git a/core/includes/common.inc b/core/includes/common.inc index e3f405f..8869182 100644 --- a/core/includes/common.inc +++ b/core/includes/common.inc @@ -5127,7 +5127,7 @@ function drupal_cron_cleanup() { * this function will search the site-wide modules directory (i.e., /modules/), * your install profile's directory (i.e., * /profiles/your_site_profile/modules/), the all-sites directory (i.e., - * /sites/all/modules/), and your site-specific directory (i.e., + * /modules/), and your site-specific directory (i.e., * /sites/your_site_dir/modules/), in that order, and return information about * all of the files ending in .module in those directories. * @@ -5144,7 +5144,7 @@ function drupal_cron_cleanup() { * @param string $directory * The subdirectory name in which the files are found. For example, * 'core/modules' will search in sub-directories of the /core/modules - * directory, sub-directories of /sites/all/modules/, etc. + * directory, sub-directories of /modules/, etc. * @param string $key * The key to be used for the associative array returned. Possible values are * 'uri', for the file's URI; 'filename', for the basename of the file; and @@ -5170,10 +5170,10 @@ function drupal_system_listing($mask, $directory, $key = 'name', $min_depth = 1) // Search for the directory in core. $searchdir = array('core/' . $directory); - // The 'profiles' directory contains pristine collections of modules and + // The 'core/profiles' directory contains pristine collections of modules and // themes as provided by a distribution. It is pristine in the same way that // the 'core/modules' directory is pristine for core; users should avoid - // any modification by using the sites/all or sites/ directories. + // any modification by using the top-level or sites/ directories. $profile = drupal_get_profile(); // For SimpleTest to be able to test modules packaged together with a // distribution we need to include the profile of the parent site (in which @@ -5188,13 +5188,10 @@ function drupal_system_listing($mask, $directory, $key = 'name', $min_depth = 1) // profile always has precedence. $searchdir[] = drupal_get_path('profile', $profile) . '/' . $directory; - // For the case of searching for profiles, scan top-level directories. - // @todo Replace entire sites/all/$directory with this. + // Always search in top-level directories (containing contributed and custom + // extensions). $searchdir[] = $directory; - // Always search sites/all/* as well as the global directories. - $searchdir[] = 'sites/all/' . $directory; - if (file_exists("$config/$directory")) { $searchdir[] = "$config/$directory"; } @@ -5212,7 +5209,7 @@ function drupal_system_listing($mask, $directory, $key = 'name', $min_depth = 1) // The exception to this is if the later file is from a module or theme not // compatible with Drupal core. This may occur during upgrades of Drupal // core when new modules exist in core while older contrib modules with the - // same name exist in a directory such as sites/all/modules/. + // same name exist in a directory such as /modules. foreach (array_intersect_key($files_to_add, $files) as $file_key => $file) { // If it has no info file, then we just behave liberally and accept the // new resource on the list for merging. diff --git a/core/includes/file.inc b/core/includes/file.inc index ed4bdce..3ef54a3 100644 --- a/core/includes/file.inc +++ b/core/includes/file.inc @@ -2434,7 +2434,7 @@ function file_directory_temp() { if (empty($temporary_directory)) { // If no directory has been found default to 'files/tmp'. - $temporary_directory = variable_get('file_public_path', conf_path() . '/files') . '/tmp'; + $temporary_directory = variable_get('file_public_path', conf_path() . 'files') . '/tmp'; // Windows accepts paths with either slash (/) or backslash (\), but will // not accept a path which contains both a slash and a backslash. Since diff --git a/core/includes/install.core.inc b/core/includes/install.core.inc index cf8f1ed..500b861 100644 --- a/core/includes/install.core.inc +++ b/core/includes/install.core.inc @@ -882,7 +882,7 @@ function install_verify_database_settings() { if (!empty($databases) && install_verify_pdo()) { $database = $databases['default']['default']; drupal_static_reset('conf_path'); - $settings_file = './' . conf_path(FALSE) . '/settings.php'; + $settings_file = './' . conf_path(FALSE) . 'settings.php'; $errors = install_database_errors($database, $settings_file); if (empty($errors)) { return TRUE; @@ -920,7 +920,7 @@ function install_settings_form($form, &$form_state, &$install_state) { drupal_static_reset('conf_path'); $conf_path = './' . conf_path(FALSE); - $settings_file = $conf_path . '/settings.php'; + $settings_file = $conf_path . 'settings.php'; $database = isset($databases['default']['default']) ? $databases['default']['default'] : array(); drupal_set_title(st('Database configuration')); @@ -1216,7 +1216,7 @@ function install_find_translations() { * @see file_scan_directory() */ function install_find_translation_files($langcode = NULL) { - $directory = variable_get('locale_translate_file_directory', conf_path() . '/files/translations'); + $directory = variable_get('locale_translate_file_directory', conf_path() . 'files/translations'); $files = file_scan_directory($directory, '!drupal-\d+\.\d+\.' . (!empty($langcode) ? preg_quote($langcode, '!') : '[^\.]+') . '\.po$!', array('recurse' => FALSE)); return $files; } @@ -1256,7 +1256,7 @@ function install_select_language(&$install_state) { // is doing. if (count($files) == 1) { if ($install_state['interactive']) { - $directory = variable_get('locale_translate_file_directory', conf_path() . '/files/translations'); + $directory = variable_get('locale_translate_file_directory', conf_path() . 'files/translations'); drupal_set_title(st('Choose language')); if (!empty($install_state['parameters']['translate'])) { @@ -1645,9 +1645,9 @@ function install_check_requirements($install_state) { // If Drupal is not set up already, we need to create a settings file. if (!$install_state['settings_verified']) { $writable = FALSE; - $conf_path = './' . conf_path(FALSE, TRUE); - $settings_file = $conf_path . '/settings.php'; - $default_settings_file = './sites/default/default.settings.php'; + $conf_path = conf_path(FALSE, TRUE); + $settings_file = $conf_path . 'settings.php'; + $default_settings_file = 'default.settings.php'; $file = $conf_path; $exists = FALSE; // Verify that the directory exists. @@ -1660,7 +1660,6 @@ function install_check_requirements($install_state) { $exists = TRUE; } } - // If default.settings.php does not exist, or is not readable, throw an // error. if (!drupal_verify_install_file($default_settings_file, FILE_EXIST|FILE_READABLE)) { @@ -1754,6 +1753,7 @@ function install_check_requirements($install_state) { } } } + return $requirements; } diff --git a/core/includes/install.inc b/core/includes/install.inc index f1184a7..b43b3f4 100644 --- a/core/includes/install.inc +++ b/core/includes/install.inc @@ -189,7 +189,7 @@ function drupal_get_database_types() { */ function drupal_rewrite_settings($settings = array()) { drupal_static_reset('conf_path'); - $settings_file = conf_path(FALSE) . '/settings.php'; + $settings_file = conf_path(FALSE) . 'settings.php'; // Build list of setting names and insert the values into the global namespace. $keys = array(); @@ -344,7 +344,7 @@ function drupal_verify_profile($install_state) { 'title' => st('Required modules'), 'value' => st('Required modules not found.'), 'severity' => REQUIREMENT_ERROR, - 'description' => st('The following modules are required but were not found. Move them into the appropriate modules subdirectory, such as sites/all/modules. Missing modules: !modules', array('!modules' => implode(', ', $modules))), + 'description' => st('The following modules are required but were not found. Move them into the appropriate modules subdirectory, such as /modules. Missing modules: !modules', array('!modules' => implode(', ', $modules))), ); } return $requirements; @@ -404,6 +404,9 @@ function drupal_install_system() { * TRUE on success or FALSE on failure. A message is set for the latter. */ function drupal_verify_install_file($file, $mask = NULL, $type = 'file') { + if ($file == '') { + $file = '.'; + } $return = TRUE; // Check for files that shouldn't be there. if (isset($mask) && ($mask & FILE_NOT_EXIST) && file_exists($file)) { @@ -416,7 +419,6 @@ function drupal_verify_install_file($file, $mask = NULL, $type = 'file') { $return = FALSE; } } - // Verify file permissions. if (isset($mask)) { $masks = array(FILE_EXIST, FILE_READABLE, FILE_WRITABLE, FILE_EXECUTABLE, FILE_NOT_READABLE, FILE_NOT_WRITABLE, FILE_NOT_EXECUTABLE); diff --git a/core/includes/update.inc b/core/includes/update.inc index 30be3cd..ab764fc 100644 --- a/core/includes/update.inc +++ b/core/includes/update.inc @@ -94,7 +94,7 @@ function update_prepare_d8_bootstrap() { // If any of the required settings needs to be written, then settings.php // needs to be writable. if (!$settings_exist) { - $settings_file = conf_path() . '/settings.php'; + $settings_file = conf_path() . 'settings.php'; $writable = drupal_verify_install_file($settings_file, FILE_EXIST | FILE_READABLE | FILE_WRITABLE); $requirements['settings file']['title'] = 'Settings file'; if ($writable) { diff --git a/core/lib/Drupal/Core/Database/Driver/sqlite/Install/Tasks.php b/core/lib/Drupal/Core/Database/Driver/sqlite/Install/Tasks.php index 4f0e16b..dfce51e 100644 --- a/core/lib/Drupal/Core/Database/Driver/sqlite/Install/Tasks.php +++ b/core/lib/Drupal/Core/Database/Driver/sqlite/Install/Tasks.php @@ -36,7 +36,7 @@ class Tasks extends InstallTasks { // Make the text more accurate for SQLite. $form['database']['#title'] = st('Database file'); $form['database']['#description'] = st('The absolute path to the file where @drupal data will be stored. This must be writable by the web server and should exist outside of the web root.', array('@drupal' => drupal_install_profile_distribution_name())); - $default_database = conf_path(FALSE, TRUE) . '/files/.ht.sqlite'; + $default_database = conf_path(FALSE, TRUE) . 'files/.ht.sqlite'; $form['database']['#default_value'] = empty($database['database']) ? $default_database : $database['database']; return $form; } diff --git a/core/lib/Drupal/Core/StreamWrapper/PublicStream.php b/core/lib/Drupal/Core/StreamWrapper/PublicStream.php index 207b77a..42434d4 100644 --- a/core/lib/Drupal/Core/StreamWrapper/PublicStream.php +++ b/core/lib/Drupal/Core/StreamWrapper/PublicStream.php @@ -19,7 +19,7 @@ class PublicStream extends LocalStream { * Implements Drupal\Core\StreamWrapper\LocalStream::getDirectoryPath() */ public function getDirectoryPath() { - return variable_get('file_public_path', conf_path() . '/files'); + return variable_get('file_public_path', conf_path() . 'files'); } /** diff --git a/core/lib/Drupal/Core/Updater/Module.php b/core/lib/Drupal/Core/Updater/Module.php index eea11a6..969d547 100644 --- a/core/lib/Drupal/Core/Updater/Module.php +++ b/core/lib/Drupal/Core/Updater/Module.php @@ -19,11 +19,11 @@ class Module extends Updater implements UpdaterInterface { * If the module is already installed, drupal_get_path() will return * a valid path and we should install it there (although we need to use an * absolute path, so we prepend DRUPAL_ROOT). If we're installing a new - * module, we always want it to go into sites/all/modules, since that's + * module, we always want it to go into /modules, since that's * where all the documentation recommends users install their modules, and * there's no way that can conflict on a multi-site installation, since * the Update manager won't let you install a new module if it's already - * found on your system, and if there was a copy in sites/all, we'd see it. + * found on your system, and if there was a copy in the top-level we'd see it. * * @return string * A directory path. @@ -33,7 +33,7 @@ class Module extends Updater implements UpdaterInterface { $relative_path = dirname($relative_path); } else { - $relative_path = 'sites/all/modules'; + $relative_path = 'modules'; } return DRUPAL_ROOT . '/' . $relative_path; } diff --git a/core/lib/Drupal/Core/Updater/Theme.php b/core/lib/Drupal/Core/Updater/Theme.php index 697fae8..16bb515 100644 --- a/core/lib/Drupal/Core/Updater/Theme.php +++ b/core/lib/Drupal/Core/Updater/Theme.php @@ -19,11 +19,11 @@ class Theme extends Updater implements UpdaterInterface { * If the theme is already installed, drupal_get_path() will return * a valid path and we should install it there (although we need to use an * absolute path, so we prepend DRUPAL_ROOT). If we're installing a new - * theme, we always want it to go into sites/all/themes, since that's + * theme, we always want it to go into /themes, since that's * where all the documentation recommends users install their themes, and * there's no way that can conflict on a multi-site installation, since * the Update manager won't let you install a new theme if it's already - * found on your system, and if there was a copy in sites/all, we'd see it. + * found on your system, and if there was a copy in the top-level we'd see it. * * @return string * A directory path. @@ -33,7 +33,7 @@ class Theme extends Updater implements UpdaterInterface { $relative_path = dirname($relative_path); } else { - $relative_path = 'sites/all/themes'; + $relative_path = 'themes'; } return DRUPAL_ROOT . '/' . $relative_path; } diff --git a/core/lib/Drupal/Core/Updater/Updater.php b/core/lib/Drupal/Core/Updater/Updater.php index 5a484cf..37a8d70 100644 --- a/core/lib/Drupal/Core/Updater/Updater.php +++ b/core/lib/Drupal/Core/Updater/Updater.php @@ -198,9 +198,9 @@ class Updater { // Make sure the installation parent directory exists and is writable. $this->prepareInstallDirectory($filetransfer, $args['install_dir']); - // Note: If the project is installed in sites/all, it will not be + // Note: If the project is installed in the top-level, it will not be // deleted. It will be installed in sites/default as that will override - // the sites/all reference and not break other sites which are using it. + // the top-level reference and not break other sites which are using it. if (is_dir($args['install_dir'] . '/' . $this->name)) { // Remove the existing installed file. $filetransfer->removeDirectory($args['install_dir'] . '/' . $this->name); diff --git a/core/modules/README.txt b/core/modules/README.txt deleted file mode 100644 index 8928d80..0000000 --- a/core/modules/README.txt +++ /dev/null @@ -1,9 +0,0 @@ - -This directory is reserved for core module files. Custom or contributed modules -should be placed in their own subdirectory of the sites/all/modules directory. -For multisite installations, they can also be placed in a subdirectory under -/sites/{sitename}/modules/, where {sitename} is the name of your site (e.g., -www.example.com). This will allow you to more easily update Drupal core files. - -For more details, see: http://drupal.org/node/176043 - diff --git a/core/modules/locale/lib/Drupal/locale/Tests/LocaleFileImportStatus.php b/core/modules/locale/lib/Drupal/locale/Tests/LocaleFileImportStatus.php index a19351d..033da22 100644 --- a/core/modules/locale/lib/Drupal/locale/Tests/LocaleFileImportStatus.php +++ b/core/modules/locale/lib/Drupal/locale/Tests/LocaleFileImportStatus.php @@ -189,7 +189,7 @@ class LocaleFileImportStatus extends WebTestBase { * Delete translation files after deleting a language. */ function testDeleteLanguage() { - $dir = conf_path() . '/files/translations'; + $dir = conf_path() . 'files/translations'; file_prepare_directory($dir, FILE_CREATE_DIRECTORY); variable_set('locale_translate_file_directory', $dir); $langcode = 'de'; diff --git a/core/modules/locale/locale.bulk.inc b/core/modules/locale/locale.bulk.inc index 0581af4..4e0eeb3 100644 --- a/core/modules/locale/locale.bulk.inc +++ b/core/modules/locale/locale.bulk.inc @@ -347,7 +347,7 @@ function locale_translate_batch_import_files($options, $force = FALSE) { * An array of interface translation files. */ function locale_translate_get_interface_translation_files($langcode = NULL) { - $directory = variable_get('locale_translate_file_directory', conf_path() . '/files/translations'); + $directory = variable_get('locale_translate_file_directory', conf_path() . 'files/translations'); return file_scan_directory($directory, '!' . (!empty($langcode) ? '\.' . preg_quote($langcode, '!') : '') . '\.po$!', array('recurse' => FALSE)); } diff --git a/core/modules/locale/locale.module b/core/modules/locale/locale.module index aec8978..60553c7 100644 --- a/core/modules/locale/locale.module +++ b/core/modules/locale/locale.module @@ -557,7 +557,7 @@ function locale_form_system_file_system_settings_alter(&$form, $form_state) { $form['locale_translate_file_directory'] = array( '#type' => 'textfield', '#title' => t('Interface translations directory'), - '#default_value' => variable_get('locale_translate_file_directory', conf_path() . '/files/translations'), + '#default_value' => variable_get('locale_translate_file_directory', conf_path() . 'files/translations'), '#maxlength' => 255, '#description' => t('A local file system path where interface translation files are looked for. This directory must exist.'), '#after_build' => array('system_check_directory'), diff --git a/core/modules/simpletest/lib/Drupal/simpletest/TestBase.php b/core/modules/simpletest/lib/Drupal/simpletest/TestBase.php index fedd32d..95e8dfb 100644 --- a/core/modules/simpletest/lib/Drupal/simpletest/TestBase.php +++ b/core/modules/simpletest/lib/Drupal/simpletest/TestBase.php @@ -533,7 +533,7 @@ abstract class TestBase { if (variable_get('simpletest_verbose', TRUE)) { // Initialize verbose debugging. $this->verbose = TRUE; - $this->verboseDirectory = variable_get('file_public_path', conf_path() . '/files') . '/simpletest/verbose'; + $this->verboseDirectory = variable_get('file_public_path', conf_path() . 'files') . '/simpletest/verbose'; if (file_prepare_directory($this->verboseDirectory, FILE_CREATE_DIRECTORY) && !file_exists($this->verboseDirectory . '/.htaccess')) { file_put_contents($this->verboseDirectory . '/.htaccess', "\nExpiresActive Off\n\n"); } @@ -691,7 +691,7 @@ abstract class TestBase { $this->originalConfigDirectory = $GLOBALS['config_directory_name']; // Save further contextual information. - $this->originalFileDirectory = variable_get('file_public_path', conf_path() . '/files'); + $this->originalFileDirectory = variable_get('file_public_path', conf_path() . 'files'); $this->originalProfile = drupal_get_profile(); $this->originalUser = $user; diff --git a/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php b/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php index 25139e6..1a3b1d2 100644 --- a/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php +++ b/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php @@ -322,7 +322,7 @@ abstract class WebTestBase extends TestBase { $original = drupal_get_path('module', 'simpletest') . '/files'; $files = file_scan_directory($original, '/(html|image|javascript|php|sql)-.*/'); foreach ($files as $file) { - file_unmanaged_copy($file->uri, variable_get('file_public_path', conf_path() . '/files')); + file_unmanaged_copy($file->uri, variable_get('file_public_path', conf_path() . 'files')); } $this->generatedTestFiles = TRUE; diff --git a/core/modules/system/lib/Drupal/system/Tests/FileTransfer/FileTransferTest.php b/core/modules/system/lib/Drupal/system/Tests/FileTransfer/FileTransferTest.php index e106e04..a501e11 100644 --- a/core/modules/system/lib/Drupal/system/Tests/FileTransfer/FileTransferTest.php +++ b/core/modules/system/lib/Drupal/system/Tests/FileTransfer/FileTransferTest.php @@ -91,7 +91,7 @@ class FileTransferTest extends WebTestBase { $gotit = TRUE; try { - $this->testConnection->copyDirectory($source, DRUPAL_ROOT . '/'. variable_get('file_public_path', conf_path() . '/files')); + $this->testConnection->copyDirectory($source, DRUPAL_ROOT . '/'. variable_get('file_public_path', conf_path() . 'files')); } catch (FileTransferException $e) { $gotit = FALSE; diff --git a/core/modules/system/lib/Drupal/system/Tests/PhpStorage/FileStorageTest.php b/core/modules/system/lib/Drupal/system/Tests/PhpStorage/FileStorageTest.php index 6280cc4..4680ada 100644 --- a/core/modules/system/lib/Drupal/system/Tests/PhpStorage/FileStorageTest.php +++ b/core/modules/system/lib/Drupal/system/Tests/PhpStorage/FileStorageTest.php @@ -25,11 +25,11 @@ class FileStorageTest extends PhpStorageTestBase { parent::setUp(); $conf['php_storage']['simpletest'] = array( 'class' => 'Drupal\Component\PhpStorage\FileStorage', - 'directory' => DRUPAL_ROOT . '/' . variable_get('file_public_path', conf_path() . '/files') . '/php', + 'directory' => DRUPAL_ROOT . '/' . variable_get('file_public_path', conf_path() . 'files') . '/php', ); $conf['php_storage']['readonly'] = array( 'class' => 'Drupal\Component\PhpStorage\FileReadOnlyStorage', - 'directory' => DRUPAL_ROOT . '/' . variable_get('file_public_path', conf_path() . '/files') . '/php', + 'directory' => DRUPAL_ROOT . '/' . variable_get('file_public_path', conf_path() . 'files') . '/php', // Let this read from the bin where the other instance is writing. 'bin' => 'simpletest', ); diff --git a/core/modules/system/lib/Drupal/system/Tests/PhpStorage/MTimeProtectedFileStorageTest.php b/core/modules/system/lib/Drupal/system/Tests/PhpStorage/MTimeProtectedFileStorageTest.php index a0649cb..65fd713 100644 --- a/core/modules/system/lib/Drupal/system/Tests/PhpStorage/MTimeProtectedFileStorageTest.php +++ b/core/modules/system/lib/Drupal/system/Tests/PhpStorage/MTimeProtectedFileStorageTest.php @@ -36,7 +36,7 @@ class MTimeProtectedFileStorageTest extends PhpStorageTestBase { $this->secret = $this->randomName(); $conf['php_storage']['simpletest'] = array( 'class' => $this->storageClass, - 'directory' => DRUPAL_ROOT . '/' . variable_get('file_public_path', conf_path() . '/files') . '/php', + 'directory' => DRUPAL_ROOT . '/' . variable_get('file_public_path', conf_path() . 'files') . '/php', 'secret' => $this->secret, ); } @@ -60,7 +60,7 @@ class MTimeProtectedFileStorageTest extends PhpStorageTestBase { $php = drupal_php_storage('simpletest'); $name = 'simpletest.php'; $php->save($name, 'secret . $directory_mtime) . '.php'; diff --git a/core/modules/system/lib/Drupal/system/Tests/System/ThemeTest.php b/core/modules/system/lib/Drupal/system/Tests/System/ThemeTest.php index b4139e2..619fa27 100644 --- a/core/modules/system/lib/Drupal/system/Tests/System/ThemeTest.php +++ b/core/modules/system/lib/Drupal/system/Tests/System/ThemeTest.php @@ -45,7 +45,7 @@ class ThemeTest extends WebTestBase { function testThemeSettings() { // Specify a filesystem path to be used for the logo. $file = current($this->drupalGetTestFiles('image')); - $file_relative = strtr($file->uri, array('public:/' => variable_get('file_public_path', conf_path() . '/files'))); + $file_relative = strtr($file->uri, array('public:/' => variable_get('file_public_path', conf_path() . 'files'))); $default_theme_path = 'core/themes/stark'; $supported_paths = array( @@ -97,7 +97,7 @@ class ThemeTest extends WebTestBase { if (file_uri_scheme($input) == 'public') { $implicit_public_file = file_uri_target($input); $explicit_file = $input; - $local_file = strtr($input, array('public:/' => variable_get('file_public_path', conf_path() . '/files'))); + $local_file = strtr($input, array('public:/' => variable_get('file_public_path', conf_path() . 'files'))); } // Adjust for fully qualified stream wrapper URI elsewhere. elseif (file_uri_scheme($input) !== FALSE) { @@ -107,7 +107,7 @@ class ThemeTest extends WebTestBase { elseif ($input == file_uri_target($file->uri)) { $implicit_public_file = $input; $explicit_file = 'public://' . $input; - $local_file = variable_get('file_public_path', conf_path() . '/files') . '/' . $input; + $local_file = variable_get('file_public_path', conf_path() . 'files') . '/' . $input; } $this->assertEqual((string) $elements[0], $implicit_public_file); $this->assertEqual((string) $elements[1], $explicit_file); @@ -132,9 +132,9 @@ class ThemeTest extends WebTestBase { // Relative path within the public filesystem to non-existing file. 'whatever.png', // Relative path to non-existing file in public filesystem. - variable_get('file_public_path', conf_path() . '/files') . '/whatever.png', + variable_get('file_public_path', conf_path() . 'files') . '/whatever.png', // Semi-absolute path to non-existing file in public filesystem. - '/' . variable_get('file_public_path', conf_path() . '/files') . '/whatever.png', + '/' . variable_get('file_public_path', conf_path() . 'files') . '/whatever.png', // Relative path to arbitrary non-existing file. 'core/misc/whatever.png', // Semi-absolute path to arbitrary non-existing file. diff --git a/core/modules/system/system.admin.inc b/core/modules/system/system.admin.inc index 72c50d4..7f77824 100644 --- a/core/modules/system/system.admin.inc +++ b/core/modules/system/system.admin.inc @@ -523,7 +523,7 @@ function system_theme_settings($form, &$form_state, $key = '') { // Prepare local file path for description. if ($original_path && isset($friendly_path)) { - $local_file = strtr($original_path, array('public:/' => variable_get('file_public_path', conf_path() . '/files'))); + $local_file = strtr($original_path, array('public:/' => variable_get('file_public_path', conf_path() . 'files'))); } elseif ($key) { $local_file = drupal_get_path('theme', $key) . '/' . $default; @@ -1821,7 +1821,7 @@ function system_file_system_settings() { $form['file_public_path'] = array( '#type' => 'textfield', '#title' => t('Public file system path'), - '#default_value' => variable_get('file_public_path', conf_path() . '/files'), + '#default_value' => variable_get('file_public_path', conf_path() . 'files'), '#maxlength' => 255, '#description' => t('A local file system path where public files will be stored. This directory must exist and be writable by Drupal. This directory must be relative to the Drupal installation directory and be accessible over the web.'), '#after_build' => array('system_check_directory'), diff --git a/core/modules/system/system.install b/core/modules/system/system.install index b8d402c..561fe99 100644 --- a/core/modules/system/system.install +++ b/core/modules/system/system.install @@ -311,7 +311,7 @@ function system_requirements($phase) { $require_settings = ($phase != 'install'); $reset_cache = !$require_settings; $directories = array( - variable_get('file_public_path', conf_path($require_settings, $reset_cache) . '/files'), + variable_get('file_public_path', conf_path($require_settings, $reset_cache) . 'files'), // By default no private files directory is configured. For private files // to be secure the admin needs to provide a path outside the webroot. variable_get('file_private_path', FALSE), @@ -337,7 +337,7 @@ function system_requirements($phase) { $requirements['config directory'] = array( 'title' => $t('Configuration directory'), 'value' => $t('Not present'), - 'description' => $t('Your %file file must define the $config_directory_name variable as the name of a directory in which configuration files can be written.', array('%file' => conf_path() . '/settings.php')), + 'description' => $t('Your %file file must define the $config_directory_name variable as the name of a directory in which configuration files can be written.', array('%file' => conf_path() . 'settings.php')), 'severity' => REQUIREMENT_ERROR, ); } diff --git a/core/scripts/run-tests.sh b/core/scripts/run-tests.sh index 62107ab..cdb1ddf 100755 --- a/core/scripts/run-tests.sh +++ b/core/scripts/run-tests.sh @@ -464,7 +464,7 @@ function simpletest_script_cleanup($test_id, $test_class, $exitcode) { // Check whether a test file directory was setup already. // @see prepareEnvironment() - $public_files = variable_get('file_public_path', conf_path() . '/files'); + $public_files = variable_get('file_public_path', conf_path() . 'files'); $test_directory = $public_files . '/simpletest/' . substr($db_prefix, 10); if (is_dir($test_directory)) { // Output the error_log. diff --git a/core/themes/README.txt b/core/themes/README.txt deleted file mode 100644 index 3fb27ed..0000000 --- a/core/themes/README.txt +++ /dev/null @@ -1,9 +0,0 @@ - -This directory is reserved for core theme files. Custom or contributed themes -should be placed in their own subdirectory of the sites/all/themes directory. -For multisite installations, they can also be placed in a subdirectory under -/sites/{sitename}/themes/, where {sitename} is the name of your site (e.g., -www.example.com). This will allow you to more easily update Drupal core files. - -For more details, see: http://drupal.org/node/176043 - diff --git a/core/themes/stark/README.txt b/core/themes/stark/README.txt index f40d951..dd6f386 100644 --- a/core/themes/stark/README.txt +++ b/core/themes/stark/README.txt @@ -21,5 +21,5 @@ ABOUT DRUPAL THEMING To learn how to build your own custom theme and override Drupal's default code, see the Theming Guide: http://drupal.org/theme-guide -See the sites/all/themes/README.txt for more information on where to place your +See the themes/README.txt for more information on where to place your custom themes to ensure easy maintenance and upgrades. diff --git a/default.settings.php b/default.settings.php new file mode 100755 index 0000000..2c12638 --- /dev/null +++ b/default.settings.php @@ -0,0 +1,572 @@ + 'mysql', + * 'database' => 'databasename', + * 'username' => 'username', + * 'password' => 'password', + * 'host' => 'localhost', + * 'port' => 3306, + * 'prefix' => 'myprefix_', + * 'collation' => 'utf8_general_ci', + * ); + * @endcode + * + * The "driver" property indicates what Drupal database driver the + * connection should use. This is usually the same as the name of the + * database type, such as mysql or sqlite, but not always. The other + * properties will vary depending on the driver. For SQLite, you must + * specify a database file name in a directory that is writable by the + * webserver. For most other drivers, you must specify a + * username, password, host, and database name. + * + * Transaction support is enabled by default for all drivers that support it, + * including MySQL. To explicitly disable it, set the 'transactions' key to + * FALSE. + * Note that some configurations of MySQL, such as the MyISAM engine, don't + * support it and will proceed silently even if enabled. If you experience + * transaction related crashes with such configuration, set the 'transactions' + * key to FALSE. + * + * For each database, you may optionally specify multiple "target" databases. + * A target database allows Drupal to try to send certain queries to a + * different database if it can but fall back to the default connection if not. + * That is useful for master/slave replication, as Drupal may try to connect + * to a slave server when appropriate and if one is not available will simply + * fall back to the single master server. + * + * The general format for the $databases array is as follows: + * @code + * $databases['default']['default'] = $info_array; + * $databases['default']['slave'][] = $info_array; + * $databases['default']['slave'][] = $info_array; + * $databases['extra']['default'] = $info_array; + * @endcode + * + * In the above example, $info_array is an array of settings described above. + * The first line sets a "default" database that has one master database + * (the second level default). The second and third lines create an array + * of potential slave databases. Drupal will select one at random for a given + * request as needed. The fourth line creates a new database with a name of + * "extra". + * + * For a single database configuration, the following is sufficient: + * @code + * $databases['default']['default'] = array( + * 'driver' => 'mysql', + * 'database' => 'databasename', + * 'username' => 'username', + * 'password' => 'password', + * 'host' => 'localhost', + * 'prefix' => 'main_', + * 'collation' => 'utf8_general_ci', + * ); + * @endcode + * + * You can optionally set prefixes for some or all database table names + * by using the 'prefix' setting. If a prefix is specified, the table + * name will be prepended with its value. Be sure to use valid database + * characters only, usually alphanumeric and underscore. If no prefixes + * are desired, leave it as an empty string ''. + * + * To have all database names prefixed, set 'prefix' as a string: + * @code + * 'prefix' => 'main_', + * @endcode + * To provide prefixes for specific tables, set 'prefix' as an array. + * The array's keys are the table names and the values are the prefixes. + * The 'default' element is mandatory and holds the prefix for any tables + * not specified elsewhere in the array. Example: + * @code + * 'prefix' => array( + * 'default' => 'main_', + * 'users' => 'shared_', + * 'sessions' => 'shared_', + * 'role' => 'shared_', + * 'authmap' => 'shared_', + * ), + * @endcode + * You can also use a reference to a schema/database as a prefix. This maybe + * useful if your Drupal installation exists in a schema that is not the default + * or you want to access several databases from the same code base at the same + * time. + * Example: + * @code + * 'prefix' => array( + * 'default' => 'main.', + * 'users' => 'shared.', + * 'sessions' => 'shared.', + * 'role' => 'shared.', + * 'authmap' => 'shared.', + * ); + * @endcode + * NOTE: MySQL and SQLite's definition of a schema is a database. + * + * Advanced users can add or override initial commands to execute when + * connecting to the database server, as well as PDO connection settings. For + * example, to enable MySQL SELECT queries to exceed the max_join_size system + * variable, and to reduce the database connection timeout to 5 seconds: + * + * @code + * $databases['default']['default'] = array( + * 'init_commands' => array( + * 'big_selects' => 'SET SQL_BIG_SELECTS=1', + * ), + * 'pdo' => array( + * PDO::ATTR_TIMEOUT => 5, + * ), + * ); + * @endcode + * + * WARNING: These defaults are designed for database portability. Changing them + * may cause unexpected behavior, including potential data loss. + * + * @see DatabaseConnection_mysql::__construct + * @see DatabaseConnection_pgsql::__construct + * @see DatabaseConnection_sqlite::__construct + * + * Database configuration format: + * @code + * $databases['default']['default'] = array( + * 'driver' => 'mysql', + * 'database' => 'databasename', + * 'username' => 'username', + * 'password' => 'password', + * 'host' => 'localhost', + * 'prefix' => '', + * ); + * $databases['default']['default'] = array( + * 'driver' => 'pgsql', + * 'database' => 'databasename', + * 'username' => 'username', + * 'password' => 'password', + * 'host' => 'localhost', + * 'prefix' => '', + * ); + * $databases['default']['default'] = array( + * 'driver' => 'sqlite', + * 'database' => '/path/to/databasefilename', + * ); + * @endcode + */ +$databases = array(); + +/** + * Access control for update.php script. + * + * If you are updating your Drupal installation using the update.php script but + * are not logged in using either an account with the "Administer software + * updates" permission or the site maintenance account (the account that was + * created during installation), you will need to modify the access check + * statement below. Change the FALSE to a TRUE to disable the access check. + * After finishing the upgrade, be sure to open this file again and change the + * TRUE back to a FALSE! + */ +$update_free_access = FALSE; + +/** + * Salt for one-time login links and cancel links, form tokens, etc. + * + * This variable will be set to a random value by the installer. All one-time + * login links will be invalidated if the value is changed. Note that if your + * site is deployed on a cluster of web servers, you must ensure that this + * variable has the same value on each server. If this variable is empty, a hash + * of the serialized database credentials will be used as a fallback salt. + * + * For enhanced security, you may set this variable to a value using the + * contents of a file outside your docroot that is never saved together + * with any backups of your Drupal files and database. + * + * Example: + * $drupal_hash_salt = file_get_contents('/home/example/salt.txt'); + * + */ +$drupal_hash_salt = ''; + +/** + * Location of the site configuration files. + * + * By default, Drupal configuration files are stored in a randomly named + * directory under the default public files path. On install the + * named directory is created in the default files directory. For enhanced + * security, you may set this variable to a location outside your docroot. + * + * @todo Flesh this out, provide more details, etc. + * + * Example: + * $config_directory_name = '/some/directory/outside/webroot'; + */ +$config_directory_name = ''; + +/** + * Base URL (optional). + * + * If Drupal is generating incorrect URLs on your site, which could + * be in HTML headers (links to CSS and JS files) or visible links on pages + * (such as in menus), uncomment the Base URL statement below (remove the + * leading hash sign) and fill in the absolute URL to your Drupal installation. + * + * You might also want to force users to use a given domain. + * See the .htaccess file for more information. + * + * Examples: + * $base_url = 'http://www.example.com'; + * $base_url = 'http://www.example.com:8888'; + * $base_url = 'http://www.example.com/drupal'; + * $base_url = 'https://www.example.com:8888/drupal'; + * + * It is not allowed to have a trailing slash; Drupal will add it + * for you. + */ +# $base_url = 'http://www.example.com'; // NO trailing slash! + +/** + * PHP settings: + * + * To see what PHP settings are possible, including whether they can be set at + * runtime (by using ini_set()), read the PHP documentation: + * http://php.net/manual/ini.list.php + * See drupal_environment_initialize() in core/includes/bootstrap.inc for + * required runtime settings and the .htaccess file for non-runtime settings. + * Settings defined there should not be duplicated here so as to avoid conflict + * issues. + */ + +/** + * Some distributions of Linux (most notably Debian) ship their PHP + * installations with garbage collection (gc) disabled. Since Drupal depends on + * PHP's garbage collection for clearing sessions, ensure that garbage + * collection occurs by using the most common settings. + */ +ini_set('session.gc_probability', 1); +ini_set('session.gc_divisor', 100); + +/** + * Set session lifetime (in seconds), i.e. the time from the user's last visit + * to the active session may be deleted by the session garbage collector. When + * a session is deleted, authenticated users are logged out, and the contents + * of the user's $_SESSION variable is discarded. + */ +ini_set('session.gc_maxlifetime', 200000); + +/** + * Set session cookie lifetime (in seconds), i.e. the time from the session is + * created to the cookie expires, i.e. when the browser is expected to discard + * the cookie. The value 0 means "until the browser is closed". + */ +ini_set('session.cookie_lifetime', 2000000); + +/** + * If you encounter a situation where users post a large amount of text, and + * the result is stripped out upon viewing but can still be edited, Drupal's + * output filter may not have sufficient memory to process it. If you + * experience this issue, you may wish to uncomment the following two lines + * and increase the limits of these variables. For more information, see + * http://php.net/manual/pcre.configuration.php. + */ +# ini_set('pcre.backtrack_limit', 200000); +# ini_set('pcre.recursion_limit', 200000); + +/** + * Drupal automatically generates a unique session cookie name for each site + * based on its full domain name. If you have multiple domains pointing at the + * same Drupal site, you can either redirect them all to a single domain (see + * comment in .htaccess), or uncomment the line below and specify their shared + * base domain. Doing so assures that users remain logged in as they cross + * between your various domains. Make sure to always start the $cookie_domain + * with a leading dot, as per RFC 2109. + */ +# $cookie_domain = '.example.com'; + +/** + * Variable overrides: + * + * To override specific entries in the 'variable' table for this site, + * set them here. You usually don't need to use this feature. This is + * useful in a configuration file for a vhost or directory, rather than + * the default settings.php. Any configuration setting from the 'variable' + * table can be given a new value. Note that any values you provide in + * these variable overrides will not be modifiable from the Drupal + * administration interface. + * + * The following overrides are examples: + * - site_name: Defines the site's name. + * - theme_default: Defines the default theme for this site. + * - anonymous: Defines the human-readable name of anonymous users. + * Remove the leading hash signs to enable. + */ +# $conf['site_name'] = 'My Drupal site'; +# $conf['theme_default'] = 'stark'; +# $conf['anonymous'] = 'Visitor'; + +/** + * A custom theme can be set for the offline page. This applies when the site + * is explicitly set to maintenance mode through the administration page or when + * the database is inactive due to an error. It can be set through the + * 'maintenance_theme' key. The template file should also be copied into the + * theme. It is located inside 'core/modules/system/maintenance-page.tpl.php'. + * Note: This setting does not apply to installation and update pages. + */ +# $conf['maintenance_theme'] = 'bartik'; + +/** + * Reverse Proxy Configuration: + * + * Reverse proxy servers are often used to enhance the performance + * of heavily visited sites and may also provide other site caching, + * security, or encryption benefits. In an environment where Drupal + * is behind a reverse proxy, the real IP address of the client should + * be determined such that the correct client IP address is available + * to Drupal's logging, statistics, and access management systems. In + * the most simple scenario, the proxy server will add an + * X-Forwarded-For header to the request that contains the client IP + * address. However, HTTP headers are vulnerable to spoofing, where a + * malicious client could bypass restrictions by setting the + * X-Forwarded-For header directly. Therefore, Drupal's proxy + * configuration requires the IP addresses of all remote proxies to be + * specified in $conf['reverse_proxy_addresses'] to work correctly. + * + * Enable this setting to get Drupal to determine the client IP from + * the X-Forwarded-For header (or $conf['reverse_proxy_header'] if set). + * If you are unsure about this setting, do not have a reverse proxy, + * or Drupal operates in a shared hosting environment, this setting + * should remain commented out. + * + * In order for this setting to be used you must specify every possible + * reverse proxy IP address in $conf['reverse_proxy_addresses']. + * If a complete list of reverse proxies is not available in your + * environment (for example, if you use a CDN) you may set the + * $_SERVER['REMOTE_ADDR'] variable directly in settings.php. + * Be aware, however, that it is likely that this would allow IP + * address spoofing unless more advanced precautions are taken. + */ +# $conf['reverse_proxy'] = TRUE; + +/** + * Specify every reverse proxy IP address in your environment. + * This setting is required if $conf['reverse_proxy'] is TRUE. + */ +# $conf['reverse_proxy_addresses'] = array('a.b.c.d', ...); + +/** + * Set this value if your proxy server sends the client IP in a header + * other than X-Forwarded-For. + */ +# $conf['reverse_proxy_header'] = 'HTTP_X_CLUSTER_CLIENT_IP'; + +/** + * Page caching: + * + * By default, Drupal sends a "Vary: Cookie" HTTP header for anonymous page + * views. This tells a HTTP proxy that it may return a page from its local + * cache without contacting the web server, if the user sends the same Cookie + * header as the user who originally requested the cached page. Without "Vary: + * Cookie", authenticated users would also be served the anonymous page from + * the cache. If the site has mostly anonymous users except a few known + * editors/administrators, the Vary header can be omitted. This allows for + * better caching in HTTP proxies (including reverse proxies), i.e. even if + * clients send different cookies, they still get content served from the cache. + * However, authenticated users should access the site directly (i.e. not use an + * HTTP proxy, and bypass the reverse proxy if one is used) in order to avoid + * getting cached pages from the proxy. + */ +# $conf['omit_vary_cookie'] = TRUE; + +/** + * CSS/JS aggregated file gzip compression: + * + * By default, when CSS or JS aggregation and clean URLs are enabled Drupal will + * store a gzip compressed (.gz) copy of the aggregated files. If this file is + * available then rewrite rules in the default .htaccess file will serve these + * files to browsers that accept gzip encoded content. This allows pages to load + * faster for these users and has minimal impact on server load. If you are + * using a webserver other than Apache httpd, or a caching reverse proxy that is + * configured to cache and compress these files itself you may want to uncomment + * one or both of the below lines, which will prevent gzip files being stored. + */ +# $conf['css_gzip_compression'] = FALSE; +# $conf['js_gzip_compression'] = FALSE; + +/** + * String overrides: + * + * To override specific strings on your site with or without enabling locale + * module, add an entry to this list. This functionality allows you to change + * a small number of your site's default English language interface strings. + * + * Remove the leading hash signs to enable. + */ +# $conf['locale_custom_strings_en'][''] = array( +# 'forum' => 'Discussion board', +# '@count min' => '@count minutes', +# ); + +/** + * + * IP blocking: + * + * To bypass database queries for denied IP addresses, use this setting. + * Drupal queries the {blocked_ips} table by default on every page request + * for both authenticated and anonymous users. This allows the system to + * block IP addresses from within the administrative interface and before any + * modules are loaded. However on high traffic websites you may want to avoid + * this query, allowing you to bypass database access altogether for anonymous + * users under certain caching configurations. + * + * If using this setting, you will need to add back any IP addresses which + * you may have blocked via the administrative interface. Each element of this + * array represents a blocked IP address. Uncommenting the array and leaving it + * empty will have the effect of disabling IP blocking on your site. + * + * Remove the leading hash signs to enable. + */ +# $conf['blocked_ips'] = array( +# 'a.b.c.d', +# ); + +/** + * Fast 404 pages: + * + * Drupal can generate fully themed 404 pages. However, some of these responses + * are for images or other resource files that are not displayed to the user. + * This can waste bandwidth, and also generate server load. + * + * The options below return a simple, fast 404 page for URLs matching a + * specific pattern: + * - 404_fast_paths_exclude: A regular expression to match paths to exclude, + * such as images generated by image styles, or dynamically-resized images. + * If you need to add more paths, you can add '|path' to the expression. + * - 404_fast_paths: A regular expression to match paths that should return a + * simple 404 page, rather than the fully themed 404 page. If you don't have + * any aliases ending in htm or html you can add '|s?html?' to the expression. + * - 404_fast_html: The html to return for simple 404 pages. + * + * Add leading hash signs if you would like to disable this functionality. + */ +$conf['404_fast_paths_exclude'] = '/\/(?:styles)\//'; +$conf['404_fast_paths'] = '/\.(?:txt|png|gif|jpe?g|css|js|ico|swf|flv|cgi|bat|pl|dll|exe|asp)$/i'; +$conf['404_fast_html'] = '404 Not Found

Not Found

The requested URL "@path" was not found on this server.

'; + +/** + * By default, fast 404s are returned as part of the normal page request + * process, which will properly serve valid pages that happen to match and will + * also log actual 404s to the Drupal log. Alternatively you can choose to + * return a 404 now by uncommenting the following line. This will reduce server + * load, but will cause even valid pages that happen to match the pattern to + * return 404s, rather than the actual page. It will also prevent the Drupal + * system log entry. Ensure you understand the effects of this before enabling. + * + * To enable this functionality, remove the leading hash sign below. + */ +# drupal_fast_404(); + +/** + * External access proxy settings: + * + * If your site must access the Internet via a web proxy then you can enter + * the proxy settings here. Currently only basic authentication is supported + * by using the username and password variables. The proxy_user_agent variable + * can be set to NULL for proxies that require no User-Agent header or to a + * non-empty string for proxies that limit requests to a specific agent. The + * proxy_exceptions variable is an array of host names to be accessed directly, + * not via proxy. + */ +# $conf['proxy_server'] = ''; +# $conf['proxy_port'] = 8080; +# $conf['proxy_username'] = ''; +# $conf['proxy_password'] = ''; +# $conf['proxy_user_agent'] = ''; +# $conf['proxy_exceptions'] = array('127.0.0.1', 'localhost'); + +/** + * Authorized file system operations: + * + * The Update Manager module included with Drupal provides a mechanism for + * site administrators to securely install missing updates for the site + * directly through the web user interface by providing either SSH or FTP + * credentials. This allows the site to update the new files as the user who + * owns all the Drupal files, instead of as the user the webserver is running + * as. However, some sites might wish to disable this functionality, and only + * update the code directly via SSH or FTP themselves. This setting completely + * disables all functionality related to these authorized file operations. + * + * Remove the leading hash signs to disable. + */ +# $conf['allow_authorize_operations'] = FALSE; + +/** + * Load local development override configuration, if available. + * + * Use settings.local.php to override variables on secondary (staging, + * development, etc) installations of this site. Typically used to disable + * caching, JavaScript/CSS compression, re-routing of outgoing e-mails, and + * other things that should not happen on development and testing sites. + * + * Keep this code block at the end of this file to take full effect. + */ +# if (file_exists(DRUPAL_ROOT . '/' . $conf_path . '/settings.local.php')) { +# include DRUPAL_ROOT . '/' . $conf_path . '/settings.local.php'; +# } diff --git a/modules/README.txt b/modules/README.txt new file mode 100644 index 0000000..f4e35b5 --- /dev/null +++ b/modules/README.txt @@ -0,0 +1,4 @@ + +This directory should be used to place downloaded and custom modules +which are common to all sites. This will allow you to more easily +update Drupal core files. diff --git a/profiles/README.txt b/profiles/README.txt new file mode 100644 index 0000000..2bbf4c9 --- /dev/null +++ b/profiles/README.txt @@ -0,0 +1,4 @@ + +This directory should be used to place downloaded and custom profiles +which are common to all sites. This will allow you to more easily +update Drupal core files. diff --git a/sites/all/README.txt b/sites/all/README.txt deleted file mode 100644 index d25add3..0000000 --- a/sites/all/README.txt +++ /dev/null @@ -1,7 +0,0 @@ - -This directory should be used to place downloaded and custom modules, themes -and profiles which are common to all sites. Keeping contributed and custom -modules, themes, and profiles in the sites directory will aid in upgrading -Drupal core files. Place contributed and custom modules, themes, and profiles -in the sites/all/modules, sites/all/themes, and sites/all/profiles directories -respectively. diff --git a/sites/all/modules/README.txt b/sites/all/modules/README.txt deleted file mode 100644 index f4e35b5..0000000 --- a/sites/all/modules/README.txt +++ /dev/null @@ -1,4 +0,0 @@ - -This directory should be used to place downloaded and custom modules -which are common to all sites. This will allow you to more easily -update Drupal core files. diff --git a/sites/all/profiles/README.txt b/sites/all/profiles/README.txt deleted file mode 100644 index 2bbf4c9..0000000 --- a/sites/all/profiles/README.txt +++ /dev/null @@ -1,4 +0,0 @@ - -This directory should be used to place downloaded and custom profiles -which are common to all sites. This will allow you to more easily -update Drupal core files. diff --git a/sites/all/themes/README.txt b/sites/all/themes/README.txt deleted file mode 100644 index e942521..0000000 --- a/sites/all/themes/README.txt +++ /dev/null @@ -1,4 +0,0 @@ - -This directory should be used to place downloaded and custom themes -which are common to all sites. This will allow you to more easily -update Drupal core files. diff --git a/sites/default/default.settings.php b/sites/default/default.settings.php deleted file mode 100755 index 2c12638..0000000 --- a/sites/default/default.settings.php +++ /dev/null @@ -1,572 +0,0 @@ - 'mysql', - * 'database' => 'databasename', - * 'username' => 'username', - * 'password' => 'password', - * 'host' => 'localhost', - * 'port' => 3306, - * 'prefix' => 'myprefix_', - * 'collation' => 'utf8_general_ci', - * ); - * @endcode - * - * The "driver" property indicates what Drupal database driver the - * connection should use. This is usually the same as the name of the - * database type, such as mysql or sqlite, but not always. The other - * properties will vary depending on the driver. For SQLite, you must - * specify a database file name in a directory that is writable by the - * webserver. For most other drivers, you must specify a - * username, password, host, and database name. - * - * Transaction support is enabled by default for all drivers that support it, - * including MySQL. To explicitly disable it, set the 'transactions' key to - * FALSE. - * Note that some configurations of MySQL, such as the MyISAM engine, don't - * support it and will proceed silently even if enabled. If you experience - * transaction related crashes with such configuration, set the 'transactions' - * key to FALSE. - * - * For each database, you may optionally specify multiple "target" databases. - * A target database allows Drupal to try to send certain queries to a - * different database if it can but fall back to the default connection if not. - * That is useful for master/slave replication, as Drupal may try to connect - * to a slave server when appropriate and if one is not available will simply - * fall back to the single master server. - * - * The general format for the $databases array is as follows: - * @code - * $databases['default']['default'] = $info_array; - * $databases['default']['slave'][] = $info_array; - * $databases['default']['slave'][] = $info_array; - * $databases['extra']['default'] = $info_array; - * @endcode - * - * In the above example, $info_array is an array of settings described above. - * The first line sets a "default" database that has one master database - * (the second level default). The second and third lines create an array - * of potential slave databases. Drupal will select one at random for a given - * request as needed. The fourth line creates a new database with a name of - * "extra". - * - * For a single database configuration, the following is sufficient: - * @code - * $databases['default']['default'] = array( - * 'driver' => 'mysql', - * 'database' => 'databasename', - * 'username' => 'username', - * 'password' => 'password', - * 'host' => 'localhost', - * 'prefix' => 'main_', - * 'collation' => 'utf8_general_ci', - * ); - * @endcode - * - * You can optionally set prefixes for some or all database table names - * by using the 'prefix' setting. If a prefix is specified, the table - * name will be prepended with its value. Be sure to use valid database - * characters only, usually alphanumeric and underscore. If no prefixes - * are desired, leave it as an empty string ''. - * - * To have all database names prefixed, set 'prefix' as a string: - * @code - * 'prefix' => 'main_', - * @endcode - * To provide prefixes for specific tables, set 'prefix' as an array. - * The array's keys are the table names and the values are the prefixes. - * The 'default' element is mandatory and holds the prefix for any tables - * not specified elsewhere in the array. Example: - * @code - * 'prefix' => array( - * 'default' => 'main_', - * 'users' => 'shared_', - * 'sessions' => 'shared_', - * 'role' => 'shared_', - * 'authmap' => 'shared_', - * ), - * @endcode - * You can also use a reference to a schema/database as a prefix. This maybe - * useful if your Drupal installation exists in a schema that is not the default - * or you want to access several databases from the same code base at the same - * time. - * Example: - * @code - * 'prefix' => array( - * 'default' => 'main.', - * 'users' => 'shared.', - * 'sessions' => 'shared.', - * 'role' => 'shared.', - * 'authmap' => 'shared.', - * ); - * @endcode - * NOTE: MySQL and SQLite's definition of a schema is a database. - * - * Advanced users can add or override initial commands to execute when - * connecting to the database server, as well as PDO connection settings. For - * example, to enable MySQL SELECT queries to exceed the max_join_size system - * variable, and to reduce the database connection timeout to 5 seconds: - * - * @code - * $databases['default']['default'] = array( - * 'init_commands' => array( - * 'big_selects' => 'SET SQL_BIG_SELECTS=1', - * ), - * 'pdo' => array( - * PDO::ATTR_TIMEOUT => 5, - * ), - * ); - * @endcode - * - * WARNING: These defaults are designed for database portability. Changing them - * may cause unexpected behavior, including potential data loss. - * - * @see DatabaseConnection_mysql::__construct - * @see DatabaseConnection_pgsql::__construct - * @see DatabaseConnection_sqlite::__construct - * - * Database configuration format: - * @code - * $databases['default']['default'] = array( - * 'driver' => 'mysql', - * 'database' => 'databasename', - * 'username' => 'username', - * 'password' => 'password', - * 'host' => 'localhost', - * 'prefix' => '', - * ); - * $databases['default']['default'] = array( - * 'driver' => 'pgsql', - * 'database' => 'databasename', - * 'username' => 'username', - * 'password' => 'password', - * 'host' => 'localhost', - * 'prefix' => '', - * ); - * $databases['default']['default'] = array( - * 'driver' => 'sqlite', - * 'database' => '/path/to/databasefilename', - * ); - * @endcode - */ -$databases = array(); - -/** - * Access control for update.php script. - * - * If you are updating your Drupal installation using the update.php script but - * are not logged in using either an account with the "Administer software - * updates" permission or the site maintenance account (the account that was - * created during installation), you will need to modify the access check - * statement below. Change the FALSE to a TRUE to disable the access check. - * After finishing the upgrade, be sure to open this file again and change the - * TRUE back to a FALSE! - */ -$update_free_access = FALSE; - -/** - * Salt for one-time login links and cancel links, form tokens, etc. - * - * This variable will be set to a random value by the installer. All one-time - * login links will be invalidated if the value is changed. Note that if your - * site is deployed on a cluster of web servers, you must ensure that this - * variable has the same value on each server. If this variable is empty, a hash - * of the serialized database credentials will be used as a fallback salt. - * - * For enhanced security, you may set this variable to a value using the - * contents of a file outside your docroot that is never saved together - * with any backups of your Drupal files and database. - * - * Example: - * $drupal_hash_salt = file_get_contents('/home/example/salt.txt'); - * - */ -$drupal_hash_salt = ''; - -/** - * Location of the site configuration files. - * - * By default, Drupal configuration files are stored in a randomly named - * directory under the default public files path. On install the - * named directory is created in the default files directory. For enhanced - * security, you may set this variable to a location outside your docroot. - * - * @todo Flesh this out, provide more details, etc. - * - * Example: - * $config_directory_name = '/some/directory/outside/webroot'; - */ -$config_directory_name = ''; - -/** - * Base URL (optional). - * - * If Drupal is generating incorrect URLs on your site, which could - * be in HTML headers (links to CSS and JS files) or visible links on pages - * (such as in menus), uncomment the Base URL statement below (remove the - * leading hash sign) and fill in the absolute URL to your Drupal installation. - * - * You might also want to force users to use a given domain. - * See the .htaccess file for more information. - * - * Examples: - * $base_url = 'http://www.example.com'; - * $base_url = 'http://www.example.com:8888'; - * $base_url = 'http://www.example.com/drupal'; - * $base_url = 'https://www.example.com:8888/drupal'; - * - * It is not allowed to have a trailing slash; Drupal will add it - * for you. - */ -# $base_url = 'http://www.example.com'; // NO trailing slash! - -/** - * PHP settings: - * - * To see what PHP settings are possible, including whether they can be set at - * runtime (by using ini_set()), read the PHP documentation: - * http://php.net/manual/ini.list.php - * See drupal_environment_initialize() in core/includes/bootstrap.inc for - * required runtime settings and the .htaccess file for non-runtime settings. - * Settings defined there should not be duplicated here so as to avoid conflict - * issues. - */ - -/** - * Some distributions of Linux (most notably Debian) ship their PHP - * installations with garbage collection (gc) disabled. Since Drupal depends on - * PHP's garbage collection for clearing sessions, ensure that garbage - * collection occurs by using the most common settings. - */ -ini_set('session.gc_probability', 1); -ini_set('session.gc_divisor', 100); - -/** - * Set session lifetime (in seconds), i.e. the time from the user's last visit - * to the active session may be deleted by the session garbage collector. When - * a session is deleted, authenticated users are logged out, and the contents - * of the user's $_SESSION variable is discarded. - */ -ini_set('session.gc_maxlifetime', 200000); - -/** - * Set session cookie lifetime (in seconds), i.e. the time from the session is - * created to the cookie expires, i.e. when the browser is expected to discard - * the cookie. The value 0 means "until the browser is closed". - */ -ini_set('session.cookie_lifetime', 2000000); - -/** - * If you encounter a situation where users post a large amount of text, and - * the result is stripped out upon viewing but can still be edited, Drupal's - * output filter may not have sufficient memory to process it. If you - * experience this issue, you may wish to uncomment the following two lines - * and increase the limits of these variables. For more information, see - * http://php.net/manual/pcre.configuration.php. - */ -# ini_set('pcre.backtrack_limit', 200000); -# ini_set('pcre.recursion_limit', 200000); - -/** - * Drupal automatically generates a unique session cookie name for each site - * based on its full domain name. If you have multiple domains pointing at the - * same Drupal site, you can either redirect them all to a single domain (see - * comment in .htaccess), or uncomment the line below and specify their shared - * base domain. Doing so assures that users remain logged in as they cross - * between your various domains. Make sure to always start the $cookie_domain - * with a leading dot, as per RFC 2109. - */ -# $cookie_domain = '.example.com'; - -/** - * Variable overrides: - * - * To override specific entries in the 'variable' table for this site, - * set them here. You usually don't need to use this feature. This is - * useful in a configuration file for a vhost or directory, rather than - * the default settings.php. Any configuration setting from the 'variable' - * table can be given a new value. Note that any values you provide in - * these variable overrides will not be modifiable from the Drupal - * administration interface. - * - * The following overrides are examples: - * - site_name: Defines the site's name. - * - theme_default: Defines the default theme for this site. - * - anonymous: Defines the human-readable name of anonymous users. - * Remove the leading hash signs to enable. - */ -# $conf['site_name'] = 'My Drupal site'; -# $conf['theme_default'] = 'stark'; -# $conf['anonymous'] = 'Visitor'; - -/** - * A custom theme can be set for the offline page. This applies when the site - * is explicitly set to maintenance mode through the administration page or when - * the database is inactive due to an error. It can be set through the - * 'maintenance_theme' key. The template file should also be copied into the - * theme. It is located inside 'core/modules/system/maintenance-page.tpl.php'. - * Note: This setting does not apply to installation and update pages. - */ -# $conf['maintenance_theme'] = 'bartik'; - -/** - * Reverse Proxy Configuration: - * - * Reverse proxy servers are often used to enhance the performance - * of heavily visited sites and may also provide other site caching, - * security, or encryption benefits. In an environment where Drupal - * is behind a reverse proxy, the real IP address of the client should - * be determined such that the correct client IP address is available - * to Drupal's logging, statistics, and access management systems. In - * the most simple scenario, the proxy server will add an - * X-Forwarded-For header to the request that contains the client IP - * address. However, HTTP headers are vulnerable to spoofing, where a - * malicious client could bypass restrictions by setting the - * X-Forwarded-For header directly. Therefore, Drupal's proxy - * configuration requires the IP addresses of all remote proxies to be - * specified in $conf['reverse_proxy_addresses'] to work correctly. - * - * Enable this setting to get Drupal to determine the client IP from - * the X-Forwarded-For header (or $conf['reverse_proxy_header'] if set). - * If you are unsure about this setting, do not have a reverse proxy, - * or Drupal operates in a shared hosting environment, this setting - * should remain commented out. - * - * In order for this setting to be used you must specify every possible - * reverse proxy IP address in $conf['reverse_proxy_addresses']. - * If a complete list of reverse proxies is not available in your - * environment (for example, if you use a CDN) you may set the - * $_SERVER['REMOTE_ADDR'] variable directly in settings.php. - * Be aware, however, that it is likely that this would allow IP - * address spoofing unless more advanced precautions are taken. - */ -# $conf['reverse_proxy'] = TRUE; - -/** - * Specify every reverse proxy IP address in your environment. - * This setting is required if $conf['reverse_proxy'] is TRUE. - */ -# $conf['reverse_proxy_addresses'] = array('a.b.c.d', ...); - -/** - * Set this value if your proxy server sends the client IP in a header - * other than X-Forwarded-For. - */ -# $conf['reverse_proxy_header'] = 'HTTP_X_CLUSTER_CLIENT_IP'; - -/** - * Page caching: - * - * By default, Drupal sends a "Vary: Cookie" HTTP header for anonymous page - * views. This tells a HTTP proxy that it may return a page from its local - * cache without contacting the web server, if the user sends the same Cookie - * header as the user who originally requested the cached page. Without "Vary: - * Cookie", authenticated users would also be served the anonymous page from - * the cache. If the site has mostly anonymous users except a few known - * editors/administrators, the Vary header can be omitted. This allows for - * better caching in HTTP proxies (including reverse proxies), i.e. even if - * clients send different cookies, they still get content served from the cache. - * However, authenticated users should access the site directly (i.e. not use an - * HTTP proxy, and bypass the reverse proxy if one is used) in order to avoid - * getting cached pages from the proxy. - */ -# $conf['omit_vary_cookie'] = TRUE; - -/** - * CSS/JS aggregated file gzip compression: - * - * By default, when CSS or JS aggregation and clean URLs are enabled Drupal will - * store a gzip compressed (.gz) copy of the aggregated files. If this file is - * available then rewrite rules in the default .htaccess file will serve these - * files to browsers that accept gzip encoded content. This allows pages to load - * faster for these users and has minimal impact on server load. If you are - * using a webserver other than Apache httpd, or a caching reverse proxy that is - * configured to cache and compress these files itself you may want to uncomment - * one or both of the below lines, which will prevent gzip files being stored. - */ -# $conf['css_gzip_compression'] = FALSE; -# $conf['js_gzip_compression'] = FALSE; - -/** - * String overrides: - * - * To override specific strings on your site with or without enabling locale - * module, add an entry to this list. This functionality allows you to change - * a small number of your site's default English language interface strings. - * - * Remove the leading hash signs to enable. - */ -# $conf['locale_custom_strings_en'][''] = array( -# 'forum' => 'Discussion board', -# '@count min' => '@count minutes', -# ); - -/** - * - * IP blocking: - * - * To bypass database queries for denied IP addresses, use this setting. - * Drupal queries the {blocked_ips} table by default on every page request - * for both authenticated and anonymous users. This allows the system to - * block IP addresses from within the administrative interface and before any - * modules are loaded. However on high traffic websites you may want to avoid - * this query, allowing you to bypass database access altogether for anonymous - * users under certain caching configurations. - * - * If using this setting, you will need to add back any IP addresses which - * you may have blocked via the administrative interface. Each element of this - * array represents a blocked IP address. Uncommenting the array and leaving it - * empty will have the effect of disabling IP blocking on your site. - * - * Remove the leading hash signs to enable. - */ -# $conf['blocked_ips'] = array( -# 'a.b.c.d', -# ); - -/** - * Fast 404 pages: - * - * Drupal can generate fully themed 404 pages. However, some of these responses - * are for images or other resource files that are not displayed to the user. - * This can waste bandwidth, and also generate server load. - * - * The options below return a simple, fast 404 page for URLs matching a - * specific pattern: - * - 404_fast_paths_exclude: A regular expression to match paths to exclude, - * such as images generated by image styles, or dynamically-resized images. - * If you need to add more paths, you can add '|path' to the expression. - * - 404_fast_paths: A regular expression to match paths that should return a - * simple 404 page, rather than the fully themed 404 page. If you don't have - * any aliases ending in htm or html you can add '|s?html?' to the expression. - * - 404_fast_html: The html to return for simple 404 pages. - * - * Add leading hash signs if you would like to disable this functionality. - */ -$conf['404_fast_paths_exclude'] = '/\/(?:styles)\//'; -$conf['404_fast_paths'] = '/\.(?:txt|png|gif|jpe?g|css|js|ico|swf|flv|cgi|bat|pl|dll|exe|asp)$/i'; -$conf['404_fast_html'] = '404 Not Found

Not Found

The requested URL "@path" was not found on this server.

'; - -/** - * By default, fast 404s are returned as part of the normal page request - * process, which will properly serve valid pages that happen to match and will - * also log actual 404s to the Drupal log. Alternatively you can choose to - * return a 404 now by uncommenting the following line. This will reduce server - * load, but will cause even valid pages that happen to match the pattern to - * return 404s, rather than the actual page. It will also prevent the Drupal - * system log entry. Ensure you understand the effects of this before enabling. - * - * To enable this functionality, remove the leading hash sign below. - */ -# drupal_fast_404(); - -/** - * External access proxy settings: - * - * If your site must access the Internet via a web proxy then you can enter - * the proxy settings here. Currently only basic authentication is supported - * by using the username and password variables. The proxy_user_agent variable - * can be set to NULL for proxies that require no User-Agent header or to a - * non-empty string for proxies that limit requests to a specific agent. The - * proxy_exceptions variable is an array of host names to be accessed directly, - * not via proxy. - */ -# $conf['proxy_server'] = ''; -# $conf['proxy_port'] = 8080; -# $conf['proxy_username'] = ''; -# $conf['proxy_password'] = ''; -# $conf['proxy_user_agent'] = ''; -# $conf['proxy_exceptions'] = array('127.0.0.1', 'localhost'); - -/** - * Authorized file system operations: - * - * The Update Manager module included with Drupal provides a mechanism for - * site administrators to securely install missing updates for the site - * directly through the web user interface by providing either SSH or FTP - * credentials. This allows the site to update the new files as the user who - * owns all the Drupal files, instead of as the user the webserver is running - * as. However, some sites might wish to disable this functionality, and only - * update the code directly via SSH or FTP themselves. This setting completely - * disables all functionality related to these authorized file operations. - * - * Remove the leading hash signs to disable. - */ -# $conf['allow_authorize_operations'] = FALSE; - -/** - * Load local development override configuration, if available. - * - * Use settings.local.php to override variables on secondary (staging, - * development, etc) installations of this site. Typically used to disable - * caching, JavaScript/CSS compression, re-routing of outgoing e-mails, and - * other things that should not happen on development and testing sites. - * - * Keep this code block at the end of this file to take full effect. - */ -# if (file_exists(DRUPAL_ROOT . '/' . $conf_path . '/settings.local.php')) { -# include DRUPAL_ROOT . '/' . $conf_path . '/settings.local.php'; -# } diff --git a/themes/README.txt b/themes/README.txt new file mode 100644 index 0000000..e942521 --- /dev/null +++ b/themes/README.txt @@ -0,0 +1,4 @@ + +This directory should be used to place downloaded and custom themes +which are common to all sites. This will allow you to more easily +update Drupal core files.