Skip to content

Instantly share code, notes, and snippets.

@chrowe
Created May 21, 2013 22:01
Show Gist options
  • Save chrowe/5623634 to your computer and use it in GitHub Desktop.
Save chrowe/5623634 to your computer and use it in GitHub Desktop.
settings.local.php template
<?php
$databases = array (
'default' =>
array (
'default' =>
array (
'database' => '',
'username' => '',
'password' => '',
'host' => 'localhost',
'port' => '',
'driver' => 'mysql',
'prefix' => '',
),
),
);
// Make sure I can always run update.php
$update_free_access = true;
// Some sites use memcache, which overrides the cache include file from the core
// Since I don't have memcache running on my machine, I override it back to the
// default, and test caching on the staging server
$conf['cache_inc'] = './includes/cache.inc';
// Make sure I see all the errors I want to
error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED);
ini_set('display_errors', TRUE);
ini_set('display_startup_errors', TRUE);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment