Created
May 13, 2016 10:27
-
-
Save petsto/408e3c02c8420b9a623b92986a2e540b to your computer and use it in GitHub Desktop.
XAMPP - Wordpress Local Permissions Fix
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
/** Add this to the end of your wp-config.php */ | |
if( is_admin() ) | |
{ | |
add_filter('filesystem_method', create_function('$a', 'return "direct";' )); | |
define( 'FS_CHMOD_DIR', 0751 ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment