Advertisement
Guest User

Untitled

a guest
Aug 28th, 2014
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.95 KB | None | 0 0
  1. <?php
  2.  
  3. /**
  4. * @file
  5. * Local development override configuration feature.
  6. *
  7. * To activate this feature, copy and rename it such that its path plus
  8. * filename is 'sites/yoursite.com/settings.local.php'. Then, go to the bottom
  9. * of 'sites/yoursite.com/settings.php' and uncomment the commented lines that
  10. * mention 'settings.local.php'.
  11. */
  12.  
  13. // Show all error messages, with backtrace information.
  14. $config['system.logging']['error_level'] = 'verbose';
  15.  
  16. // Disable CSS and JS aggregation.
  17. $config['system.performance']['css']['preprocess'] = FALSE;
  18. $config['system.performance']['js']['preprocess'] = FALSE;
  19.  
  20. // Disable the render cache, by using the Null cache back-end.
  21. //$settings['cache']['bins']['render'] = 'cache.backend.null';
  22.  
  23. /**
  24. * Enable access to rebuild.php.
  25. *
  26. * This setting can be enabled to allow Drupal's php and database cached
  27. * storage to be cleared via the rebuild.php page. Access to this page can also
  28. * be gained by generating a query string from rebuild_token_calculator.sh and
  29. * using these parameters in a request to rebuild.php.
  30. */
  31. $settings['rebuild_access'] = TRUE;
  32.  
  33. /**
  34. * Twig debugging:
  35. *
  36. * When debugging is enabled:
  37. * - The markup of each Twig template is surrounded by HTML comments that
  38. * contain theming information, such as template file name suggestions.
  39. * - Note that this debugging markup will cause automated tests that directly
  40. * check rendered HTML to fail. When running automated tests, 'twig_debug'
  41. * should be set to FALSE.
  42. * - The dump() function can be used in Twig templates to output information
  43. * about template variables.
  44. * - Twig templates are automatically recompiled whenever the source code
  45. * changes (see twig_auto_reload below).
  46. *
  47. * Note: changes to this setting will only take effect once the cache is
  48. * cleared.
  49. *
  50. * For more information about debugging Twig templates, see
  51. * http://drupal.org/node/1906392.
  52. *
  53. * Not recommended in production environments (Default: FALSE).
  54. */
  55. $settings['twig_debug'] = TRUE;
  56.  
  57. /**
  58. * Twig auto-reload:
  59. *
  60. * Automatically recompile Twig templates whenever the source code changes. If
  61. * you don't provide a value for twig_auto_reload, it will be determined based
  62. * on the value of twig_debug.
  63. *
  64. * Note: changes to this setting will only take effect once the cache is
  65. * cleared.
  66. *
  67. * Not recommended in production environments (Default: NULL).
  68. */
  69. $settings['twig_auto_reload'] = TRUE;
  70.  
  71. /**
  72. * Twig cache:
  73. *
  74. * By default, Twig templates will be compiled and stored in the filesystem to
  75. * increase performance. Disabling the Twig cache will recompile the templates
  76. * from source each time they are used. In most cases the twig_auto_reload
  77. * setting above should be enabled rather than disabling the Twig cache.
  78. *
  79. * Note: changes to this setting will only take effect once the cache is
  80. * cleared.
  81. *
  82. * Not recommended in production environments (Default: TRUE).
  83. */
  84. $settings['twig_cache'] = FALSE;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement