We wrapped up the last chapter by running the Drupal web installer for all three sites, giving each its own database, site name, and configuration. In this chapter we will pick up where we left off.
The important thing to be aware of, given our multi-site configuration, is that each site will have completely distinct settings.
In Drupal, there are typically two places where settings information is stored. The first is in the settings.php
file, and as we saw from the previous chapter, each site has its own.
The second place is in the database. Settings are stored in the database table named variables
. This general table stores a wide variety of information in key/value pairs. Again, as we saw in the previous chapter, each site has its own database.
By default, there is no shared location in which configuration common to all sites can be stored. This means that if you have an assortment of configuration data that you want to share across sites, you have two options:
Duplicate...