Last active
September 17, 2015 09:57
-
-
Save slivorezka/4861fdc94e3075400b01 to your computer and use it in GitHub Desktop.
settings.php
This file contains 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 // Del the tag. | |
/** | |
* Making the Admin menu work! | |
*/ | |
$conf['admin_menu_cache_client'] = FALSE; | |
// Share sessions between HTTP and HTTPS hosts. | |
$conf['https'] = FALSE; | |
$conf['securepages_enable'] = 0; | |
// Name of folder in sites. | |
$sites_folder = 'default'; | |
// Adjust if you need. | |
$domain = $_SERVER['SERVER_NAME']; | |
$base_url = 'http://' . $domain; | |
// File system | |
$conf['file_public_path'] = 'sites/' . $sites_folder . '/files'; | |
$conf['file_private_path'] = $conf['file_public_path'] . '/private'; | |
$conf['file_temporary_path'] = 'sites/' . $sites_folder . '/tmp'; | |
// Mobile_tools module redirect. | |
$conf['mobile_tools_desktop_url'] = 'http://' . $domain; | |
/** | |
* Error reporting | |
* 0 = None | |
* 1 = Errors and warnings | |
* 2 = All messages, including notices | |
*/ | |
$conf['error_level'] = 2; | |
// Add comments in HTML for detecting templates. | |
$conf['theme_debug'] = TRUE; | |
// Emails debug (requires Devel module enabled). | |
$conf['mail_system']['default-system'] = 'DevelMailLog'; | |
$conf['devel_debug_mail_directory'] = '/server/sendmail'; | |
// Caching. | |
$conf['cache'] = FALSE; // Disable caching for anonymous. | |
$conf['block_cache'] = FALSE; | |
$conf['cache_lifetime'] = 0; // Disable agressive cachinh. | |
$conf['page_cache_maximum_age'] = 0; // 1 day. | |
// Enable(true)/disable(false) js and css aggregation and compression. | |
$conf['preprocess_js'] = FALSE; | |
$conf['preprocess_css'] = FALSE; | |
// Less devel mode (regenerate less on each page load) | |
$conf['less_devel'] = TRUE; | |
// Disable Security Kit HTTPS infinite loop redirect | |
// caused by conflict with Security Kit + Secure Pages. | |
$conf['seckit_ssl'] = array( | |
'hsts' => FALSE, | |
'hsts_max_age' => 1000, | |
'hsts_subdomains' => FALSE, | |
); | |
// LESS compiler configuration. | |
$conf['less_engine'] = 'less.php'; | |
// Include extra settings. | |
include_once('local.settings.php'); | |
// Open update.php | |
$update_free_access = TRUE; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment