Skip to content

Instantly share code, notes, and snippets.

@welly
Forked from benclark/local.settings.php
Created April 11, 2014 16:14
Show Gist options
  • Save welly/10481204 to your computer and use it in GitHub Desktop.
Save welly/10481204 to your computer and use it in GitHub Desktop.
<?php
$db_url = 'mysqli://user:pass@localhost/dbname';
$update_free_access = TRUE;
error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED);
ini_set('display_errors', TRUE);
ini_set('display_startup_errors', TRUE);
// Only log email messages
$conf['smtp_library'] = 'sites/all/modules/devel/devel.module';
// Disable Secure Pages and Secure Site module functionality
$conf['securepages_enable'] = 0;
$conf['securesite_enabled'] = 0;
// Use a test payment gateway to prevent real transactions
$conf['uc_payment_credit_gateway'] = 'test_gateway';
// Lower the search indexing per cron run to prevent long cron runs
$conf['search_cron_limit'] = '10';
// Use the core cache, instead of memcache or any others
$conf['cache_inc'] = './includes/cache.inc';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment