Development settings.php settings

Public

Warning message

We recommend you to assign at least one category to this snippet so you could easily navigate it in the future. Edit your snippet here.
</> CopyGet raw version
php
  1. // disable page cache
  2. $conf['cache'] = false;
  3.  
  4. // disable block cache
  5. $conf['block_cache'] = false;
  6.  
  7. // un-optimize CSS files
  8. $conf['preprocess_css'] = false;
  9.  
  10. // un-optimize JavaScript files
  11. $conf['preprocess_js'] = false;
  12.  
  13. // send email so Devel (to a file)
  14. $conf['mail_system'] = array(
  15. 'default-system' => 'DevelMailLog',
  16. );
  17.  
  18. // Stage File Proxy settings
  19. $conf['stage_file_proxy_origin'] = 'http://www.xxx.com'; // no trailing slash
  20.  
  21. // set dev DB settings
  22. $databases = array (
  23. 'default' =>
  24. array (
  25. 'default' =>
  26. array (
  27. 'database' => 'xxx',
  28. 'username' => 'root',
  29. 'password' => 'root',
  30. 'host' => 'localhost',
  31. 'port' => '',
  32. 'driver' => 'mysql',
  33. 'prefix' => '',
  34. ),
  35. ),
  36. );
Anonymous's picture

You can enable syntax highlighting of source code with the following tags: <bash>, <css>, <html>, <javascript>, <php>, <sql>, <text>, <yaml>.