Configuring settings.php on a development server

Public
</> CopyGet raw version
php
  1. #Development site settings.php
  2. $conf['file_public_path'] = '/path/to/public/files/directory';
  3. $conf['file_private_path'] = '/path/to/private/files/directory';
  4. $conf['file_temporary_path'] = '/path/to/tmp/directory';
  5. $conf['securepages_enable'] = FALSE;
  6. $conf['devel_enable'] = TRUE;
  7. $conf['reroute_email_enable'] = TRUE;
  8. $conf['cache'] = FALSE; //page cache
  9. $conf['block_cache'] = FALSE; //block cache
  10. $conf['preprocess_css'] = FALSE; //optimize css
  11. $conf['preprocess_js'] = FALSE; //optimize javascript
  12. error_reporting(-1);
  13. $conf['error_level'] = 2;
  14. ini_set('display_errors', TRUE);
  15. ini_set('display_startup_errors', TRUE);

Comments

gghh2's picture

If using LESS add thoose lines :

  1. $conf['less_devel'] = TRUE; //enable less
  2. $conf['less_watch'] = TRUE; //enable less