settings.php para Desarrolladores

by Agustin Gómez //

Configuraciones que añadir en las instalaciones de desarrollo.

Módulos base: stage_file_proxy, environment_indicator y reroute_email

# Rendimiento en entorno DEV LOCAL
$conf['stage_file_proxy_origin'] = 'http://example.com';

# Errores en entorno DEV LOCAL
error_reporting(-1);
$conf['error_level'] = 2;
ini_set('display_errors', TRUE);
ini_set('display_startup_errors', TRUE);

# Configuración Enviroment Indicator 1.x para DEV LOCAL:
$conf['environment_indicator_text'] = 'LOCAL';
$conf['environment_indicator_color'] = 'green';
$conf['environment_indicator_enabled'] = TRUE;

# Configuración Enviroment Indicator 2.x para DEV LOCAL:
$conf['environment_indicator_overwritten_name'] = 'LOCAL';
$conf['environment_indicator_overwritten_color'] = '#008000';
$conf['environment_indicator_overwrite'] = TRUE;

# Speed Up Cache Clearing on Drupal 7
# http://a-fro.com/speed-up-cache-clearing-on-drupal7
$conf['features_rebuild_on_flush'] = FALSE;
$conf['entity_rebuild_on_flush']   = FALSE;

# Enrutamiento de correos: evitar que lleguen a usuarios finales.
$conf['reroute_email_address'] = 'correo@email.net';
$conf['reroute_email_enable'] = TRUE;

# Apache solr  (apachesolr drupal module)
$conf['apachesolr_environments']['my_env_id']['url'] = 'http://localhost:8983';

# Configuración Token
$conf['token_tree_recursion_limit'] = 1;

 

#Drupal 7 #Config #Settings
Compartir

También te puede interesar