Last active
November 15, 2017 06:36
-
-
Save ivandoric/11251545 to your computer and use it in GitHub Desktop.
wordpress: plugin installation on more protected servers
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 at the end of wp-config.php file | |
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