Created
February 24, 2024 14:10
-
-
Save obviousdisaster/8dd5dad73047b190a172386075b684e6 to your computer and use it in GitHub Desktop.
Wordpress wp-config.php additions
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
<?php | |
define( 'WP_MEMORY_LIMIT', '512M' ); | |
define( 'WP_MAX_MEMORY_LIMIT', '512M' ); | |
define( 'DISALLOW_FILE_EDIT', true ); | |
define( 'COMPRESS_CSS', true ); | |
define( 'COMPRESS_SCRIPTS', true ); | |
define( 'CONCATENATE_SCRIPTS', true ); | |
define( 'ENFORCE_GZIP', true ); | |
define( 'WP_CACHE', true ); | |
define( 'DISABLE_WP_CRON', true ); | |
define( 'WP_DEBUG', false ); | |
if ( WP_DEBUG ) | |
{ | |
define( 'WP_DEBUG_DISPLAY', true ); | |
define( 'WP_DEBUG_LOG', true ); | |
define( 'SCRIPT_DEBUG', true ); | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment