Created
June 11, 2014 23:21
-
-
Save petervanderdoes/8b9a08cfb3b206dc5f83 to your computer and use it in GitHub Desktop.
When WordPress is in alternative directory change the last lines in wp-config.php
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
if ( !defined( 'ABSPATH' ) ) | |
define( 'ABSPATH', dirname( __FILE__ ) . '/wp/' ); | |
if (!class_exists('WP_CLI\Runner')) | |
require_once(ABSPATH . 'wp-settings.php'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment