Skip to content

Instantly share code, notes, and snippets.

@frankyonnetti
Last active May 22, 2021 19:53
Show Gist options
  • Select an option

  • Save frankyonnetti/d91ad6d3270ea7f3e64d4ace056cf5d3 to your computer and use it in GitHub Desktop.

Select an option

Save frankyonnetti/d91ad6d3270ea7f3e64d4ace056cf5d3 to your computer and use it in GitHub Desktop.
WordPress - wp-config #worpress #php
<?php
define('WP_DEBUG', true);
define('WP_DEBUG_DISPLAY', true);
define('SAVEQUERIES', true); // additional DB debug details
defined('DISALLOW_FILE_MODS') || define('DISALLOW_FILE_MODS',true); // Disable updates view
define('DB_NAME', '');
define('DB_USER', '');
define('DB_PASSWORD', '');
define('DB_HOST', 'localhost');
define('WP_HOME', 'http://example.com');
define('WP_SITEURL', 'http://example.com');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment