Commit a98d1d7c authored by Kjartan's avatar Kjartan
Browse files

- modified the variable code so you can override site settings in the config file

  by setting them in a $conf variable.

  This will let you host several domains off the same Drupal installation with
  the same databases with minor differences in settings.

  Note: the values can not be changed by users in a GET or POST string.
parent 6b4e1ec4
......@@ -383,9 +383,10 @@ function page_footer() {
$conf = conf_init();
$config = conf_init();
include_once "includes/$conf.php";
include_once "includes/$config.php";
include_once "includes/";
include_once "includes/";
include_once "includes/";
......@@ -397,7 +398,7 @@ function page_footer() {
include_once "includes/";
// initialize configuration variables:
$conf = variable_init();
$conf = variable_init($conf);
// initialize installed modules:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment