wp-config.php 에서 하단에 빨간 코드를 추가하면 된다.
[php]
/** Absolute path to the WordPress directory. */
if ( !defined(‘ABSPATH’) )
define(‘ABSPATH’, dirname(__FILE__) . ‘/’);
[/php]
[php]
/** Sets up WordPress vars and included files. */
require_once(ABSPATH . ‘wp-settings.php’);
[/php]
[php]
if(is_admin()) {
add_filter(‘filesystem_method’, create_function(‘$a’, ‘return "direct";’ ));
define( ‘FS_CHMOD_DIR’, 0751 );</span>
}
[/php]