Skip to content

Instantly share code, notes, and snippets.

@webcultist
Created May 7, 2013 10:28
Show Gist options
  • Save webcultist/5531698 to your computer and use it in GitHub Desktop.
Save webcultist/5531698 to your computer and use it in GitHub Desktop.
Some custom configurations for used modules.
<?php
// Database settings
/*
$databases = array(
'default' =>
array(
'default' =>
array(
'database' => 'localdatabase',
'username' => 'root',
'password' => 'password',
'host' => '127.0.0.1',
'port' => '',
'driver' => 'mysql',
'prefix' => '',
),
),
);
//*/
$conf['site_name'] = 'LOCAL DRUPAL DEVELOPMENT';
$conf['cache'] = FALSE; // Page cache
$conf['block_cache'] = FALSE; // Block cache
$conf['preprocess_css'] = FALSE; // Optimize CSS files
$conf['preprocess_js'] = FALSE; // Optimize JavaScript files
//$conf['page_compression'] = '0'; // Optimize JavaScript files
//any user can execute the update.php
$update_free_access = TRUE;
// need environment_modules module for this
$conf['environment_modules'] = array(
'devel' => 'sites/all/modules/devel/devel.module',
'livereload' => 'sites/all/modules/livereload/livereload.module',
);
// environment_indicator settings
$conf['environment_indicator_text'] = 'DEVELOPMENT SERVER';
$conf['environment_indicator_color'] = 'green';
$conf['error_level'] = 2;
//$conf['environment_indicator_enabled'] = FALSE;
/**
* Reroute Email module:
* Force variables in current site folder to reroute emails sent out to a
* specific email address. These settings can be customized by each
* developer or any development environment.
*/
// Force reroute email mode enabled
$conf['reroute_email_enable'] = 1;
// Force reroute email address
$conf['reroute_email_address'] = "my@email.com";
// Force enable add reroute message
$conf['reroute_email_enable_message'] = 1;
/**
* eTracker deaktivated
*/
//*
$conf['etracker_active'] = false;
/*/
$conf['etracker_active'] = true;
$conf['etracker_security_code'] = 7777777;
//*/
/**
* WiredMinds Custom Module deaktivated
*/
$conf['wiredminds_active'] = FALSE;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment