Created
August 26, 2015 18:15
-
-
Save theodorosploumis/ee6f4618de0a8d62b5db to your computer and use it in GitHub Desktop.
Drupal 7.x local.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 | |
/** | |
* @file | |
* This is a local development configuration file. | |
*/ | |
global $conf; | |
// Turn off Secure Pages. Secure Pages Module. | |
$conf['securepages_enable'] = FALSE; | |
$conf['https'] = FALSE; | |
// Stage File Proxy Configuration | |
$conf['stage_file_proxy_origin'] = 'http://pharmacademy.org'; | |
// Stage file optional with securepages | |
// $conf['stage_file_proxy_origin'] = 'http://username:[email protected]'; | |
$conf["stage_file_proxy_use_imagecache_root"] = FALSE; | |
$conf['stage_file_proxy_hotlink'] = TRUE; | |
// Turn off Caching. | |
$conf['cache'] = 0; | |
// Block caching - disabled. | |
$conf['block_cache'] = 0; | |
// Expiration of cached pages - none. | |
$conf['page_cache_maximum_age'] = 0; | |
// Aggregate and compress CSS files in Drupal - off. | |
$conf['preprocess_css'] = 0; | |
// Aggregate JavaScript files in Drupal - off. | |
$conf['preprocess_js'] = 0; | |
// Minimum cache lifetime - always none. | |
$conf['cache_lifetime'] = 0; | |
// Cached page compression - always off. | |
$conf['page_compression'] = 0; | |
// Turn off other caching. | |
$conf['css_gzip'] = FALSE; | |
$conf['javascript_aggregator_gzip'] = FALSE; | |
// Turn on all error reporting for local development. | |
error_reporting(-1); | |
$conf['error_level'] = 2; | |
ini_set('display_errors', TRUE); | |
ini_set('display_startup_errors', TRUE); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Copied from https://github.com/JaOksanen/local-settings-php