Last active
December 16, 2015 10:48
-
-
Save chales/5422359 to your computer and use it in GitHub Desktop.
A very abbreviated Drupal 6 settings.php 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 | |
/** | |
* Database URL format: | |
* $db_url = 'mysqli://username:password@localhost/databasename'; | |
*/ | |
$db_url = 'mysqli://username:password@localhost/databasename'; | |
$db_prefix = ''; | |
// Access control for update.php script | |
$update_free_access = FALSE; | |
// Base URL (optional). | |
# $base_url = 'http://www.example.com'; // NO trailing slash! | |
// Error reporting. 1 = Write errors to log and screen, 2 = Write to log but do not display. | |
// Set to 2 for production sites. | |
$conf['error_level'] = 1; | |
// PHP settings: | |
ini_set('arg_separator.output', '&'); | |
ini_set('magic_quotes_runtime', 0); | |
ini_set('magic_quotes_sybase', 0); | |
ini_set('session.cache_expire', 200000); | |
ini_set('session.cache_limiter', 'none'); | |
ini_set('session.cookie_lifetime', 0); | |
ini_set('session.gc_maxlifetime', 200000); | |
ini_set('session.save_handler', 'user'); | |
ini_set('session.use_cookies', 1); | |
ini_set('session.use_only_cookies', 1); | |
ini_set('session.use_trans_sid', 0); | |
ini_set('url_rewriter.tags', ''); | |
/** | |
* Drupal automatically generates a unique session cookie name for each site | |
* based on on its full domain name. If you have multiple domains pointing at | |
* the same Drupal site, you can either redirect them all to a single domain | |
* (see comment in .htaccess), or uncomment the line below and specify their | |
* shared base domain. Doing so assures that users remain logged in as they | |
* cross between your various domains. | |
*/ | |
# $cookie_domain = ''; | |
// A custom theme can be set for the off-line page. | |
# $conf['maintenance_theme'] = 'minnelli'; | |
// Cache and performance settings. | |
// Set to 1 for on, 0 for off. | |
$conf['preprocess_css'] = 1; | |
$conf['preprocess_js'] = 1; | |
$conf['cache'] = 1; | |
$conf['block_cache'] = 1; | |
$conf['file_directory_temp'] = '/tmp'; | |
$conf['file_directory_path'] = 'sites/default/files'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment