Created
May 2, 2012 18:39
-
-
Save mpezzi/2579070 to your computer and use it in GitHub Desktop.
Standard Drupal Settings File
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @file | |
* Provides settings. | |
*/ | |
ini_set('session.gc_probability', 1); | |
ini_set('session.gc_divisor', 100); | |
ini_set('session.gc_maxlifetime', 200000); | |
ini_set('session.cookie_lifetime', 2000000); | |
// Configuration settings. | |
$update_free_access = FALSE; | |
$drupal_hash_salt = 'salt'; | |
// Database settings. | |
$databases = array( | |
'default' => array( | |
'default' => array( | |
'database' => 'dbname', | |
'username' => 'dbuser', | |
'password' => 'dbpass', | |
'host' => 'dbhost', | |
'port' => '', | |
'driver' => 'mysql', | |
'prefix' => '', | |
), | |
), | |
); | |
// Memcache Environment Prefix | |
$conf['memcache_key_prefix'] = 'mcprefix'; | |
require_once dirname(__FILE__) . '/conf.settings.inc'; | |
require_once dirname(__FILE__) . '/memcache.settings.inc'; | |
require_once dirname(__FILE__) . '/varnish.settings.inc'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment