-
-
Save welly/10481204 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
$db_url = 'mysqli://user:pass@localhost/dbname'; | |
// Allow anyone to run update.php, so that you don't have to log in with uid=1 | |
// to do so | |
$update_free_access = TRUE; | |
// Set error reporting level to ignore notices and deprecated warnings. These | |
// should be turned back on during development to clean up any code that | |
// generates them. | |
error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED); | |
// Note that these options can also be moved into index.php, so that errors | |
// that occur before settings.php is processed will also be reported. | |
ini_set('display_errors', TRUE); | |
ini_set('display_startup_errors', TRUE); | |
// Save email messages to the log instead of sending them out. This is to | |
// prevent accidental email sends from a development site. | |
// Make sure you adjust this value if the Devel module is located elsewhere | |
$conf['smtp_library'] = 'sites/all/modules/contrib/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