Last active
December 29, 2015 00:29
-
-
Save robballou/7586038 to your computer and use it in GitHub Desktop.
A basic Drupal dev site settings file.
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 | |
/** | |
* @file | |
* Settings. | |
*/ | |
$databases = array( | |
'default' => array( | |
'default' => array( | |
'database' => '', | |
'username' => '', | |
'password' => '', | |
'host' => 'localhost', | |
'port' => '', | |
'driver' => 'mysql', | |
'prefix' => '', | |
), | |
), | |
); | |
$update_free_access = FALSE; | |
$drupal_hash_salt = ''; | |
ini_set('session.gc_probability', 1); | |
ini_set('session.gc_divisor', 100); | |
ini_set('session.gc_maxlifetime', 200000); | |
ini_set('session.cookie_lifetime', 2000000); | |
$conf['404_fast_paths_exclude'] = '/\/(?:styles)\//'; | |
$conf['404_fast_paths'] = '/\.(?:txt|png|gif|jpe?g|css|js|ico|swf|flv|cgi|bat|pl|dll|exe|asp)$/i'; | |
$conf['404_fast_html'] = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>404 Not Found</title></head><body><h1>Not Found</h1><p>The requested URL "@path" was not found on this server.</p></body></html>'; | |
// Show the Views UI filtering by default | |
$conf['views_ui_show_listing_filters'] = TRUE; | |
// Show queries by default | |
$conf['views_ui_show_sql_query'] = TRUE; | |
$conf['views_ui_show_sql_query_where'] = 'above'; | |
// Turn off auto preview by default | |
$conf['views_ui_always_live_preview'] = FALSE; | |
// | |
// development settings | |
// | |
// don't preprocess things | |
$conf['preprocess_js'] = 0; | |
$conf['preprocess_css'] = 0; | |
// use stage_file_proxy | |
$conf['stage_file_proxy_origin'] = 'http://example.com'; | |
// mail settings | |
$conf['site_mail'] = '[email protected]'; | |
$conf['mail_system'] = array( | |
'default-system' => 'DevelMailLog', | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment