Created
September 23, 2013 09:10
-
-
Save clare485/6668185 to your computer and use it in GitHub Desktop.
Add this code to functions.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
// add this code to functions.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