Last active
May 16, 2017 19:38
-
-
Save bdlangton/dae6615d2b187b7a043b87e086328c1f to your computer and use it in GitHub Desktop.
Development settings for Drupal 7
This file contains hidden or 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
// My custom settings. | |
// Show all errors. | |
error_reporting(E_ALL); | |
ini_set('display_errors', TRUE); | |
ini_set('display_startup_errors', TRUE); | |
// Show Views SQL query and performance stats in preview. Requires: views_ui. | |
$conf['views_ui_show_sql_query'] = 1; | |
$conf['views_ui_show_performance_statistics'] = 1; | |
// Show database queries on page load and how long they took. Requires: devel. | |
$conf['devel_query_display'] = 1; | |
$conf['devel_query_sort'] = '1'; | |
// Krumo skin. Requires: devel. | |
$conf['devel_krumo_skin'] = 'white'; | |
// Devel show memory usage. Requires: devel. | |
$conf['devel_memory'] = 1; | |
// Devel error handler using krumo backtrace. Requires: devel. | |
// 0 = None, 1 = Standard Drupal, 4 = Krumo in message area. | |
$conf['devel_error_handlers'][4] = '4'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment