유용한 자료
< 자료공유 < 유용한 자료
기타자료실

wordpress | 워드프레스 컨텐츠 디렉토리(wp-content)로 이동할 수 없습니다.

페이지 정보

작성자 madalla 작성일14-06-26 13:03 조회2,111회 댓글0건

본문

/** Absolute path to the WordPress directory. */
if ( !defined('ABSPATH') )
    define('ABSPATH', dirname(__FILE__) . '/');
/** Sets up WordPress vars and included files. */
require_once(ABSPATH . 'wp-settings.php');


바로 아래
---->  코드 추가
if(is_admin()) {
    add_filter('filesystem_method', create_function('$a', 'return "direct";' ));
    define( 'FS_CHMOD_DIR', 0751 );
}
  • 페이스북으로 보내기
  • 트위터로 보내기
  • 구글플러스로 보내기