Created
March 13, 2012 00:39
-
-
Save getsource/2025765 to your computer and use it in GitHub Desktop.
Make wp-cli work globally with direct file access
This file contains 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
/** | |
* /etc/wp-cli/directFileAccess.php | |
*/ | |
define( 'FS_METHOD', 'direct' ); |
This file contains 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
# /etc/wp-cli/wp-cli.ini | |
# ~/.wp-cli/ | |
auto_prepend_file = /etc/wp-cli/directFileAccess.php |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment