An example would go a long way in helping a newbie install the module.

This is the code I ended up using. Still not sure if that's entirely correct...

require_once(DRUPAL_ROOT . '/sites/all/modules/stager/stager.module');

$databases = array (
  'default' => 
  array (
    'default' => 
    array (
      'database' => 'xxxx',
      'username' => 'xxx',
      'password' => 'xxxxxxxx',
      'host' => 'localhost',
      'port' => '',
      'driver' => 'mysql',
      'prefix' => (function_exists('stager_pre_bootstrap')) ? stager_pre_bootstrap() : '',
    ),
  ),
);

Comments

Jeffrey C.’s picture

Title: Include a sample of correct settings.php arry in the README documentation » Sample Code in the Documentation

Hello,

Thank you for posting. I've just taken over this module and I assure you I'll look into this issue by this weekend. Thanks for contributing.

Jeffrey C.’s picture

Status: Active » Closed (works as designed)

I believe the documentation provides a clear instruction on how to install Stager. Closing this.