Skip to content

Instantly share code, notes, and snippets.

View mrwindowsx's full-sized avatar
💭
Good day!

CnwinTech mrwindowsx

💭
Good day!
View GitHub Profile
@mrwindowsx
mrwindowsx / wp-config.php
Created December 6, 2020 19:19 — forked from dkrusky/wp-config.php
Better WordPress Config (All customization's available)
<?php
/* Absolute path to the WordPress directory. */
if ( !defined('ABSPATH') ) { define('ABSPATH', dirname(__FILE__) . '/'); }
/* Debug Mode */
error_reporting(E_ALL);
@ini_set('display_errors', false );
define( 'WP_DEBUG', false );
define( 'WP_DEBUG_LOG', false );
define( 'WP_DEBUG_DISPLAY', false );
@mrwindowsx
mrwindowsx / wp-config.php
Created September 18, 2020 05:02 — forked from MikeNGarrett/wp-config.php
All those damned wp-config constants you can never remember.
<?php
// PHP memory limit for this site
define( 'WP_MEMORY_LIMIT', '128M' );
define( 'WP_MAX_MEMORY_LIMIT', '256M' ); // Increase admin-side memory limit.
// Database
define( 'WP_ALLOW_REPAIR', true ); // Allow WordPress to automatically repair your database.
define( 'DO_NOT_UPGRADE_GLOBAL_TABLES', true ); // Don't make database upgrades on global tables (like users)
// Explicitely setting url