Skip to content

Instantly share code, notes, and snippets.

@doostinharrell
Created March 20, 2019 19:20
Show Gist options
  • Save doostinharrell/1521eda3d9179a7f2c9fc34956b29041 to your computer and use it in GitHub Desktop.
Save doostinharrell/1521eda3d9179a7f2c9fc34956b29041 to your computer and use it in GitHub Desktop.
lando wp-config.php
<?php
/**
* Local configuration information.
*
* If you are working in a local/desktop development environment and want to
* keep your config separate, we recommend using a 'wp-config-local.php' file,
* which you should also make sure you .gitignore.
*/
if (file_exists(dirname(__FILE__) . '/wp-config-local.php')) {
require_once(dirname(__FILE__) . '/wp-config-local.php');
}
/* Absolute path to the WordPress directory. */
if ( !defined('ABSPATH') )
define('ABSPATH', dirname(__FILE__) . '/');
/* Sets up WordPress vars and included files. */
require_once(ABSPATH . 'wp-settings.php');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment