development.php 452 B

1234567891011121314151617
  1. <?php
  2. /**
  3. * Configuration overrides for WP_ENV === 'development'
  4. */
  5. use Roots\WPConfig\Config;
  6. Config::define('SAVEQUERIES', true);
  7. Config::define('WP_DEBUG', true);
  8. Config::define('WP_DEBUG_DISPLAY', true);
  9. Config::define('WP_DISABLE_FATAL_ERROR_HANDLER', true);
  10. Config::define('SCRIPT_DEBUG', true);
  11. ini_set('display_errors', '1');
  12. // Enable plugin and theme updates and installation from the admin
  13. Config::define('DISALLOW_FILE_MODS', false);