mirror of
https://gh.wpcy.net/https://github.com/BracketSpace/WP-Admin-Reference.git
synced 2026-05-27 14:08:25 +08:00
18 lines
504 B
PHP
18 lines
504 B
PHP
<?php
|
|
/**
|
|
* Configuration overrides for WP_ENV === 'development'
|
|
*/
|
|
|
|
use Roots\WPConfig\Config;
|
|
|
|
Config::define( 'SAVEQUERIES', true );
|
|
Config::define( 'WP_DEBUG', true );
|
|
Config::define( 'WP_DEBUG_DISPLAY', false );
|
|
Config::define( 'WP_DEBUG_LOG', true );
|
|
Config::define( 'WP_DISABLE_FATAL_ERROR_HANDLER', true );
|
|
Config::define( 'SCRIPT_DEBUG', true );
|
|
|
|
ini_set( 'display_errors', 1 );
|
|
|
|
// Enable plugin and theme updates and installation from the admin
|
|
Config::define( 'DISALLOW_FILE_MODS', true );
|